Package jadex.commons
Class SClassReader.MethodInfo
- java.lang.Object
 - 
- jadex.commons.SClassReader.AnnotatedEntity
 - 
- jadex.commons.SClassReader.ClassEntity
 - 
- jadex.commons.SClassReader.MethodInfo
 
 
 
 
- 
- Enclosing class:
 - SClassReader
 
public static class SClassReader.MethodInfo extends SClassReader.ClassEntity
Info object describing a method. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringmethoddescThe method descriptor.protected java.lang.StringmethodnameThe method name.- 
Fields inherited from class jadex.commons.SClassReader.AnnotatedEntity
accessflags, annotations 
 - 
 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedMethodInfo()Create mew method info. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMethodDescriptor()Get the method descriptor.java.lang.StringgetMethodName()Get the method name.booleanisAbstract()Tests if method is abstract.booleanisBridge()Tests if method is a bridge method.booleanisNative()Tests if method is a native method.booleanisStrict()Tests if method is strict.booleanisSynchronized()Tests if method is synchronized.booleanisVarArgs()Tests if method is a varargs method.protected voidsetMethodDescriptor(java.lang.String methoddesc)Set the method descriptor.protected voidsetMethodName(java.lang.String methodname)Set the method name.java.lang.StringtoString()- 
Methods inherited from class jadex.commons.SClassReader.ClassEntity
isPrivate, isProtected, isStatic 
- 
Methods inherited from class jadex.commons.SClassReader.AnnotatedEntity
getAccessFlags, getAnnotation, getAnnotations, hasAnnotation, isFinal, isPublic, isSynthetic, setAccessFlags, setAnnotations 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getMethodName
public java.lang.String getMethodName()
Get the method name.- Returns:
 - the method name.
 
 
- 
getMethodDescriptor
public java.lang.String getMethodDescriptor()
Get the method descriptor.- Returns:
 - the method descriptor.
 
 
- 
setMethodName
protected void setMethodName(java.lang.String methodname)
Set the method name.- Parameters:
 methodname- the method name to set
 
- 
setMethodDescriptor
protected void setMethodDescriptor(java.lang.String methoddesc)
Set the method descriptor.- Parameters:
 methoddesc- the method descriptor to set
 
- 
isSynchronized
public boolean isSynchronized()
Tests if method is synchronized.- Returns:
 - True, if synchronized.
 
 
- 
isBridge
public boolean isBridge()
Tests if method is a bridge method.- Returns:
 - True, if bridge method.
 
 
- 
isVarArgs
public boolean isVarArgs()
Tests if method is a varargs method.- Returns:
 - True, if varargs method.
 
 
- 
isNative
public boolean isNative()
Tests if method is a native method.- Returns:
 - True, if native method.
 
 
- 
isAbstract
public boolean isAbstract()
Tests if method is abstract.- Returns:
 - True, if abstract.
 
 
- 
isStrict
public boolean isStrict()
Tests if method is strict.- Returns:
 - True, if strict.
 
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -