Package org.jboss.classfilewriter
Class ClassMethod
java.lang.Object
org.jboss.classfilewriter.ClassMethod
- All Implemented Interfaces:
WritableEntry
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCheckedExceptions
(Class<? extends Exception>... exceptions) void
addCheckedExceptions
(String... exceptions) boolean
int
getName()
String[]
int
hashCode()
boolean
boolean
isStatic()
void
setSignature
(String signature) toString()
void
write
(ByteArrayDataOutputStream stream)
-
Method Details
-
addCheckedExceptions
-
addCheckedExceptions
-
write
- Specified by:
write
in interfaceWritableEntry
- Throws:
IOException
-
getCodeAttribute
-
getAccessFlags
public int getAccessFlags() -
getReturnType
-
getParameters
-
getName
-
getDescriptor
-
isConstructor
public boolean isConstructor() -
isStatic
public boolean isStatic() -
getClassFile
-
getRuntimeVisibleAnnotationsAttribute
-
getRuntimeVisibleParameterAnnotationsAttribute
-
getSignature
-
setSignature
-
hashCode
public int hashCode() -
equals
-
toString
-