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()Stringbody()Template for the body part of this compilation unit: members, methods/signatures.CharSequenceconstructor(IJMethod method)Collection<? extends IJMethod>constructors()Constructors of this class.CharSequencefield(IJField field)Stringheader()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.CharSequencemethod(IJMethod method)StringsuperClass()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:IJCompilationUnitCollection of interface names which are either implemented or extended.- Specified by:
interfacesin interfaceIJCompilationUnit- Overrides:
interfacesin classJCompilationUnit<IJClass>
-
superClass
public String superClass()
Description copied from interface:IJClassInherited class name.- Specified by:
superClassin interfaceIJClass
-
constructors
public Collection<? extends IJMethod> constructors()
Description copied from interface:IJClassConstructors of this class. FIXME: JMethod is ok'ish, but not entirely correct.- Specified by:
constructorsin interfaceIJClass
-
annotations
public Collection<? extends IJAnnotation> annotations()
- Specified by:
annotationsin interfaceIJClass
-
header
public String header()
Description copied from class:JCompilationUnitTemplate for the header part of this compilation unit: package, imports, type definition.- Specified by:
headerin classJCompilationUnit<IJClass>
-
body
public String body()
Description copied from class:JCompilationUnitTemplate for the body part of this compilation unit: members, methods/signatures.- Specified by:
bodyin classJCompilationUnit<IJClass>
-
field
public CharSequence field(IJField field)
-
constructor
public CharSequence constructor(IJMethod method)
-
method
public CharSequence method(IJMethod method)
-
-