Module io.github.sugarcubes.cloner
Class ClassStructure.Member
java.lang.Object
io.github.sugarcubes.cloner.bytecode.ClassStructure.Member
- Enclosing class:
- ClassStructure
Field or method.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Member
Creates the member.- Parameters:
access- access flagsname- namedescriptor- descriptor
-
-
Method Details
-
getAccess
public int getAccess()Returns the access flags.- Returns:
- access flags
-
getName
Returns the name.- Returns:
- name
-
getDescriptor
Returns the descriptor.- Returns:
- descriptor
-
is
public boolean is(int flag) Tells whether the member has the access flag.- Parameters:
flag- access flag- Returns:
trueif the flag is set
-