Interface Constructor
-
- All Superinterfaces:
AnnotableAndModifiable
,BlockContainer
,Commentable
,EObject
,ExceptionThrower
,Member
,NamedElement
,Notifier
,Parametrizable
,StatementListContainer
,TypeParametrizable
- All Known Implementing Classes:
ConstructorImpl
public interface Constructor extends Member, Parametrizable, TypeParametrizable, ExceptionThrower, AnnotableAndModifiable, BlockContainer, StatementListContainer
A representation of the model object 'Constructor'.- See Also:
MembersPackage.getConstructor()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EList<Statement>
getStatements()
boolean
isConstructorForCall(Instantiation call, boolean needsPerfectMatch)
-
Methods inherited from interface org.emftext.language.java.modifiers.AnnotableAndModifiable
addModifier, getAnnotationInstances, getAnnotationsAndModifiers, getModifiers, hasModifier, isHidden, isPrivate, isProtected, isPublic, isStatic, makePrivate, makeProtected, makePublic, removeAllModifiers, removeModifier
-
Methods inherited from interface org.emftext.language.java.statements.BlockContainer
getBlock, setBlock
-
Methods inherited from interface org.emftext.language.java.commons.Commentable
addAfterContainingStatement, addBeforeContainingStatement, getAnnotationInterface, getChildrenByEType, getChildrenByType, getClassClass, getConcreteClassifier, getConcreteClassifiers, getContainingAnnotationInstance, getContainingAnonymousClass, getContainingCompilationUnit, getContainingConcreteClassifier, getContainingContainerName, getContainingPackageName, getFirstChildByEType, getFirstChildByType, getLayoutInformations, getLibClass, getLibInterface, getObjectClass, getParentByEType, getParentByType, getParentConcreteClassifier, getStringClass
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.emftext.language.java.members.ExceptionThrower
getExceptions
-
Methods inherited from interface org.emftext.language.java.commons.NamedElement
getName, setName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.emftext.language.java.parameters.Parametrizable
getParameters
-
Methods inherited from interface org.emftext.language.java.statements.StatementListContainer
getLocalVariable
-
Methods inherited from interface org.emftext.language.java.generics.TypeParametrizable
getTypeParameters
-
-
-
-
Method Detail
-
getStatements
EList<Statement> getStatements()
- Specified by:
getStatements
in interfaceStatementListContainer
- Generated class or method.
- EMF model class or method.
- kind="operation" required="true" many="false"
-
isConstructorForCall
boolean isConstructorForCall(Instantiation call, boolean needsPerfectMatch)
- Generated class or method.
- EMF model class or method.
- required="true" callRequired="true" needsPerfectMatchRequired="true"
-
-