public interface Member extends Access, Declaration
Declaration subinterface for other declaration structures which may
belong to a class / interface. These include fields, methods, and inner
classes.Access.AccessType| Modifier and Type | Method and Description |
|---|---|
Member |
addAnnotation(Annotation annotation) |
Annotation |
addAnnotation(String text)
Creates a new annotation with the given name and adds it as the last
annotation.
|
List<Annotation> |
getAnnotations() |
String |
getName()
Gets the identifier for this member.
|
boolean |
isFinal()
Accessor method for the isFinal flag.
|
Member |
isFinal(boolean value)
Mutator method for the isFinal flag.
|
boolean |
isStatic()
Accessor method for the isStatic flag.
|
Member |
isStatic(boolean value)
Mutator method for the isStatic flag.
|
Member |
setName(String identifier)
Sets the identifier for this member.
|
javadocapplyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vmMember addAnnotation(Annotation annotation)
Annotation addAnnotation(String text)
@Example.text - The name of the annotation. Must not start with "@".List<Annotation> getAnnotations()
String getName()
boolean isFinal()
Member isFinal(boolean value)
boolean isStatic()
Member isStatic(boolean value)
Copyright © 2000–2018 jenesis4java. All rights reserved.