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 SummaryFields Modifier and Type Field Description protected java.lang.StringmethoddescThe method descriptor.protected java.lang.StringmethodnameThe method name.- 
Fields inherited from class jadex.commons.SClassReader.AnnotatedEntityaccessflags, annotations
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedMethodInfo()Create mew method info.
 - 
Method SummaryAll 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.ClassEntityisPrivate, isProtected, isStatic
 - 
Methods inherited from class jadex.commons.SClassReader.AnnotatedEntitygetAccessFlags, getAnnotation, getAnnotations, hasAnnotation, isFinal, isPublic, isSynthetic, setAccessFlags, setAnnotations
 
- 
 
- 
- 
- 
Method Detail- 
getMethodNamepublic java.lang.String getMethodName() Get the method name.- Returns:
- the method name.
 
 - 
getMethodDescriptorpublic java.lang.String getMethodDescriptor() Get the method descriptor.- Returns:
- the method descriptor.
 
 - 
setMethodNameprotected void setMethodName(java.lang.String methodname) Set the method name.- Parameters:
- methodname- the method name to set
 
 - 
setMethodDescriptorprotected void setMethodDescriptor(java.lang.String methoddesc) Set the method descriptor.- Parameters:
- methoddesc- the method descriptor to set
 
 - 
isSynchronizedpublic boolean isSynchronized() Tests if method is synchronized.- Returns:
- True, if synchronized.
 
 - 
isBridgepublic boolean isBridge() Tests if method is a bridge method.- Returns:
- True, if bridge method.
 
 - 
isVarArgspublic boolean isVarArgs() Tests if method is a varargs method.- Returns:
- True, if varargs method.
 
 - 
isNativepublic boolean isNative() Tests if method is a native method.- Returns:
- True, if native method.
 
 - 
isAbstractpublic boolean isAbstract() Tests if method is abstract.- Returns:
- True, if abstract.
 
 - 
isStrictpublic boolean isStrict() Tests if method is strict.- Returns:
- True, if strict.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-