Class JClass
- java.lang.Object
-
- org.palladiosimulator.protocom.lang.GeneratedFile<E>
-
- org.palladiosimulator.protocom.lang.java.impl.JCompilationUnit<IJClass>
-
- org.palladiosimulator.protocom.lang.java.impl.JClass
-
- All Implemented Interfaces:
ICompilationUnit
,IJClass
,IJCompilationUnit
public class JClass extends JCompilationUnit<IJClass> implements IJClass
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.protocom.lang.GeneratedFile
fsa, injector, provider
-
-
Constructor Summary
Constructors Constructor Description JClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<? extends IJAnnotation>
annotations()
String
body()
Template for the body part of this compilation unit: members, methods/signatures.CharSequence
constructor(IJMethod method)
Collection<? extends IJMethod>
constructors()
Constructors of this class.CharSequence
field(IJField field)
String
header()
Template for the header part of this compilation unit: package, imports, type definition.Collection<String>
interfaces()
Collection of interface names which are either implemented or extended.CharSequence
method(IJMethod method)
String
superClass()
Inherited class name.-
Methods inherited from class org.palladiosimulator.protocom.lang.java.impl.JCompilationUnit
compilationUnitName, fields, generate, implementedClasses, methods, packageName
-
Methods inherited from class org.palladiosimulator.protocom.lang.GeneratedFile
createFor, filePath, projectName, store
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.palladiosimulator.protocom.lang.ICompilationUnit
filePath, projectName
-
Methods inherited from interface org.palladiosimulator.protocom.lang.java.IJCompilationUnit
compilationUnitName, fields, methods, packageName
-
-
-
-
Method Detail
-
interfaces
public Collection<String> interfaces()
Description copied from interface:IJCompilationUnit
Collection of interface names which are either implemented or extended.- Specified by:
interfaces
in interfaceIJCompilationUnit
- Overrides:
interfaces
in classJCompilationUnit<IJClass>
-
superClass
public String superClass()
Description copied from interface:IJClass
Inherited class name.- Specified by:
superClass
in interfaceIJClass
-
constructors
public Collection<? extends IJMethod> constructors()
Description copied from interface:IJClass
Constructors of this class. FIXME: JMethod is ok'ish, but not entirely correct.- Specified by:
constructors
in interfaceIJClass
-
annotations
public Collection<? extends IJAnnotation> annotations()
- Specified by:
annotations
in interfaceIJClass
-
header
public String header()
Description copied from class:JCompilationUnit
Template for the header part of this compilation unit: package, imports, type definition.- Specified by:
header
in classJCompilationUnit<IJClass>
-
body
public String body()
Description copied from class:JCompilationUnit
Template for the body part of this compilation unit: members, methods/signatures.- Specified by:
body
in classJCompilationUnit<IJClass>
-
field
public CharSequence field(IJField field)
-
constructor
public CharSequence constructor(IJMethod method)
-
method
public CharSequence method(IJMethod method)
-
-