public class Method extends ModifierSupport
ABSTRACT, FINAL, PRIVATE, PROTECTED, PUBLIC, STATIC, SYNCHRONIZEDALSO_IMPORT, 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, isTransientgetAttribute, getAttributes, hasAttributepublic List<AnnotationRef> getAnnotations()
public boolean isVarArgPreferred()
public List<TypeParamDef> getParameters()
public String getName()
public TypeRef getReturnType()
public Block getBlock()
Copyright © 2016. All Rights Reserved.