Class JMemberDecl
- java.lang.Object
- 
- com.inductiveautomation.snap.javatree.JNode
- 
- com.inductiveautomation.snap.javatree.JMemberDecl
 
 
- 
- Direct Known Subclasses:
- JClassDecl,- JClassStaticDecl,- JFieldDecl,- JMethodDecl
 
 public class JMemberDecl extends JNode A JNode for type members: Initializer, TypeDeclaration, EnumDeclaration, ConstructorDeclaration, FieldDeclaration, MedthodDeclaration, AnnotationTypeDeclaration. For JavaParseRule: ClassOrInterfaceBodyDeclaration.
- 
- 
Constructor SummaryConstructors Constructor Description JMemberDecl()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ClassgetDeclaringClass()Returns the declaring class.JIdentifiergetIdentifier()Returns the identifier.intgetModifiers()Returns the modifiers.protected java.lang.StringgetNameImpl()Returns the member name.java.lang.reflect.MembergetSuperMember()Returns the member that this member overrides or implements, if available.protected java.lang.reflect.MembergetSuperMemberImpl()Returns the member that this member overrides or implements, if available.JTypeParamgetTypeParameter(java.lang.String aName)Returns the type parameters for this member.java.util.List<JTypeParam>getTypeParameters()Returns the type parameters for this member.voidsetIdentifier(JIdentifier anId)Sets the identifier.voidsetModifiers(int aValue)Sets the modifiers.- 
Methods inherited from class com.inductiveautomation.snap.javatree.JNodeaddChild, buildChildren, getBlock, getChild, getChildCount, getChildren, getClassLoader, getClassName, getClassNameImpl, getClassRef, getClassRefImpl, getEnclosingClassDecl, getEnclosingMemberDecl, getEnclosingMethodDecl, getEnd, getEndToken, getFile, getJClass, getLineIndex, getName, getNodeAtCharIndex, getNodeFields, getNodeFieldsImpl, getNodeParents, getNodePath, getNodeString, getOthers, getParent, getParent, getReferencedClasses, getReferencedClassNames, getReferencedClassNames, getReferencedClassNames, getStart, getStartToken, getString, getVariableDecl, getVariableDeclInside, getVariableDecls, isBlock, setClassName, setClassRef, setEndToken, setJClass, setParent, setStartToken, toString
 
- 
 
- 
- 
- 
Method Detail- 
getNameImplprotected java.lang.String getNameImpl() Returns the member name.- Overrides:
- getNameImplin class- JNode
 
 - 
getModifierspublic int getModifiers() Returns the modifiers.
 - 
setModifierspublic void setModifiers(int aValue) Sets the modifiers.
 - 
getIdentifierpublic JIdentifier getIdentifier() Returns the identifier.
 - 
setIdentifierpublic void setIdentifier(JIdentifier anId) Sets the identifier.
 - 
getDeclaringClasspublic java.lang.Class getDeclaringClass() Returns the declaring class.
 - 
getTypeParameterspublic java.util.List<JTypeParam> getTypeParameters() Returns the type parameters for this member.
 - 
getTypeParameterpublic JTypeParam getTypeParameter(java.lang.String aName) Returns the type parameters for this member.
 - 
getSuperMemberpublic java.lang.reflect.Member getSuperMember() Returns the member that this member overrides or implements, if available.
 - 
getSuperMemberImplprotected java.lang.reflect.Member getSuperMemberImpl() Returns the member that this member overrides or implements, if available.
 
- 
 
-