Package org.eclipse.xtext.xbase.jvmmodel
Class JvmModelCompleter
- java.lang.Object
-
- org.eclipse.xtext.xbase.jvmmodel.JvmModelCompleter
-
public class JvmModelCompleter extends java.lang.ObjectAdds expected default values to a created JvmModel. This is not meant to be enhanced in a language specific way, but really just to add things which are implicit in the Java language, such as default constructors or that a class extends java.lang.Object- Since:
- 2.7
- Noreference:
- This class is not intended to be referenced by clients.
- Noextend:
- This class is not intended to be subclassed by clients.
- Noinstantiate:
- This class is not intended to be instantiated by clients.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringGENERATED_COMMENT_VAR_SOURCE_FILE
-
Constructor Summary
Constructors Constructor Description JvmModelCompleter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddAnnotations(org.eclipse.xtext.common.types.JvmDeclaredType jvmType)voidcomplete(java.lang.Iterable<? extends org.eclipse.xtext.common.types.JvmIdentifiableElement> elements)voidcomplete(org.eclipse.xtext.common.types.JvmIdentifiableElement element)protected voidcompleteJvmAnnotationType(org.eclipse.xtext.common.types.JvmAnnotationType element)voidcompleteJvmConstructor(org.eclipse.xtext.common.types.JvmConstructor constructor)protected voidcompleteJvmEnumerationLiteral(org.eclipse.xtext.common.types.JvmEnumerationLiteral element)protected voidcompleteJvmEnumerationType(org.eclipse.xtext.common.types.JvmEnumerationType element)protected voidcompleteJvmGenericType(org.eclipse.xtext.common.types.JvmGenericType element)protected voidensureSuperTypeObject(org.eclipse.xtext.common.types.JvmDeclaredType element)protected java.lang.StringreplaceVariables(java.lang.String commentForGenerated, org.eclipse.xtext.common.types.JvmDeclaredType jvmType)Replace the variables contained in the comment to be written to the@Generatedannotation.
-
-
-
Field Detail
-
GENERATED_COMMENT_VAR_SOURCE_FILE
protected static final java.lang.String GENERATED_COMMENT_VAR_SOURCE_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
complete
public void complete(java.lang.Iterable<? extends org.eclipse.xtext.common.types.JvmIdentifiableElement> elements)
-
complete
public void complete(org.eclipse.xtext.common.types.JvmIdentifiableElement element)
-
completeJvmEnumerationType
protected void completeJvmEnumerationType(org.eclipse.xtext.common.types.JvmEnumerationType element)
-
completeJvmEnumerationLiteral
protected void completeJvmEnumerationLiteral(org.eclipse.xtext.common.types.JvmEnumerationLiteral element)
-
completeJvmAnnotationType
protected void completeJvmAnnotationType(org.eclipse.xtext.common.types.JvmAnnotationType element)
-
completeJvmConstructor
public void completeJvmConstructor(org.eclipse.xtext.common.types.JvmConstructor constructor)
-
completeJvmGenericType
protected void completeJvmGenericType(org.eclipse.xtext.common.types.JvmGenericType element)
-
ensureSuperTypeObject
protected void ensureSuperTypeObject(org.eclipse.xtext.common.types.JvmDeclaredType element)
-
addAnnotations
protected void addAnnotations(org.eclipse.xtext.common.types.JvmDeclaredType jvmType)
- Since:
- 2.8
-
replaceVariables
protected java.lang.String replaceVariables(java.lang.String commentForGenerated, org.eclipse.xtext.common.types.JvmDeclaredType jvmType)Replace the variables contained in the comment to be written to the@Generatedannotation.
-
-