public class Method extends ModifierSupport
ABSTRACT, FINAL, PRIVATE, PROTECTED, PUBLIC, STATIC, SYNCHRONIZED
ALSO_IMPORT, DEFAULT_VALUE, INIT, INIT_FUNCTION, LAZY_INIT
Constructor and Description |
---|
Method(List<String> comments,
List<AnnotationRef> annotations,
List<TypeParamDef> parameters,
String name,
TypeRef returnType,
List<Property> arguments,
boolean varArgPreferred,
List<ClassRef> exceptions,
Block block,
int modifiers,
Map<AttributeKey,Object> attributes) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<AnnotationRef> |
getAnnotations() |
List<Property> |
getArguments() |
Block |
getBlock() |
List<String> |
getComments() |
List<ClassRef> |
getExceptions() |
String |
getName() |
List<TypeParamDef> |
getParameters() |
Set<ClassRef> |
getReferences() |
TypeRef |
getReturnType() |
int |
hashCode() |
boolean |
isVarArgPreferred() |
String |
toString() |
getModifiers, isAbstract, isFinal, isPrivate, isProtected, isPublic, isStatic, isSynchronized, isTransient
getAttribute, getAttributes, hasAttribute
public List<AnnotationRef> getAnnotations()
public boolean isVarArgPreferred()
public List<TypeParamDef> getParameters()
public String getName()
public TypeRef getReturnType()
public Block getBlock()
Copyright © 2019 JBoss by Red Hat. All rights reserved.