public class MethodInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ACC_ABSTRACT |
static int |
ACC_BRIDGE |
static int |
ACC_FINAL |
static int |
ACC_NATIVE |
static int |
ACC_PROTECTED |
static int |
ACC_public |
static int |
ACC_PUBLIC |
static int |
ACC_STATIC |
static int |
ACC_STRICT |
static int |
ACC_SYNCHRONIZED |
static int |
ACC_SYNTHETIC |
static int |
ACC_VARARGS |
Constructor and Description |
---|
MethodInfo() |
Modifier and Type | Method and Description |
---|---|
void |
addDependentClassNames(Set<String> classNames) |
int |
getAccessFlags() |
AttributeInfo[] |
getAttributes() |
String |
getDeclaration() |
protected StringBuilder |
getDeclarationStringBuilder() |
String |
getDescriptor() |
MethodType |
getMethodType() |
String |
getName() |
protected boolean |
is(int accessFlag) |
void |
setAccessFlags(int accessFlags) |
void |
setAttributes(AttributeInfo[] attributes) |
void |
setDescriptor(String descriptor) |
void |
setName(String name) |
String |
toString() |
public static final int ACC_SYNCHRONIZED
public static final int ACC_BRIDGE
public static final int ACC_VARARGS
public static final int ACC_NATIVE
public static final int ACC_ABSTRACT
public static final int ACC_STRICT
public static final int ACC_SYNTHETIC
public static final int ACC_PUBLIC
public static final int ACC_public
public static final int ACC_PROTECTED
public static final int ACC_STATIC
public static final int ACC_FINAL
public MethodType getMethodType()
public void addDependentClassNames(Set<String> classNames)
addDependentClassNames
in interface DependencyHolder
public String getDeclaration()
protected boolean is(int accessFlag)
public int getAccessFlags()
public void setAccessFlags(int accessFlags)
public String getName()
public void setName(String name)
public String getDescriptor()
public void setDescriptor(String descriptor)
public AttributeInfo[] getAttributes()
public void setAttributes(AttributeInfo[] attributes)
protected StringBuilder getDeclarationStringBuilder()
Copyright © 2017–2023 Hans Jörg Heßmann. All rights reserved.