Java Reference
In-Depth Information
« DEFINE class FOR java::JavaClass-»
« FILE this .fullyQualifiedPath()-»
« IF javaPackage.isValid()-»
package «javaPackage.fullyQualifiedName()»;
« ENDIF »
« EXPAND import FOREACH classImport-»
/**
« EXPAND classComment FOREACH eAnnotations.select(a | a.source ==
'description').details-»
* @generated
*/
« EXPAND annotation FOREACH eAnnotations.select(a | a.source ==
'annotation').details-»
public class «name» « EXPAND extends FOR this
« EXPAND implements FOR this -» {
« EXPAND field FOREACH fields-»
« EXPAND reference FOREACH eReferences-»
« EXPAND method FOREACH methods-»
« EXPAND additions-»
}
« ENDFILE »
« ENDDEFINE »
« DEFINE extends FOR java::JavaClass-»
« IF getSupertype() != null »extends
« EXPAND superClass FOR getSupertype()-»« ENDIF
« ENDDEFINE »
« DEFINE implements FOR java::JavaClass-»
« IF implementsInterfaces.size > 0»implements
« EXPAND superClass FOREACH implementsInterfaces SEPARATOR ","-»« ENDIF
« ENDDEFINE »
« DEFINE superClass FOR java::JavaClass-»
«fullyQualifiedName( this )-»
« ENDDEFINE »
« DEFINE classComment FOR ecore::EStringToStringMapEntry-»
« IF key == null || key.length == 0-»
* TODO: Enter description of the class here...« ELSE
* «key-»
« ENDIF »
« ENDDEFINE »
« DEFINE annotation FOR ecore::EStringToStringMapEntry-»
«key» «value»
« ENDDEFINE »
Search WWH ::




Custom Search