Class ClassFileMethodDeclaration
java.lang.Object
org.jd.core.v1.model.javasyntax.declaration.MethodDeclaration
org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileMethodDeclaration
- All Implemented Interfaces:
Iterable<MemberDeclaration>
,BaseMemberDeclaration
,Declaration
,MemberDeclaration
,ClassFileConstructorOrMethodDeclaration
,ClassFileMemberDeclaration
,Base<MemberDeclaration>
public class ClassFileMethodDeclaration
extends MethodDeclaration
implements ClassFileConstructorOrMethodDeclaration
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map
<String, TypeArgument> protected ClassFileBodyDeclaration
protected ClassFile
protected int
protected Method
protected BaseType
Fields inherited from class org.jd.core.v1.model.javasyntax.declaration.MethodDeclaration
annotationReferences, defaultAnnotationValue, descriptor, exceptionTypes, flags, formalParameters, name, returnedType, statements, typeParameters
Fields inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
FLAG_ABSTRACT, FLAG_ANNOTATION, FLAG_BRIDGE, FLAG_DEFAULT, FLAG_ENUM, FLAG_FINAL, FLAG_INTERFACE, FLAG_MANDATED, FLAG_MODULE, FLAG_NATIVE, FLAG_OPEN, FLAG_PRIVATE, FLAG_PROTECTED, FLAG_PUBLIC, FLAG_STATIC, FLAG_STATIC_PHASE, FLAG_STRICT, FLAG_SUPER, FLAG_SYNCHRONIZED, FLAG_SYNTHETIC, FLAG_TRANSIENT, FLAG_TRANSITIVE, FLAG_VARARGS, FLAG_VOLATILE
-
Constructor Summary
ConstructorsConstructorDescriptionClassFileMethodDeclaration
(ClassFileBodyDeclaration bodyDeclaration, ClassFile classFile, Method method, String name, Type returnedType, BaseType parameterTypes, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds) ClassFileMethodDeclaration
(ClassFileBodyDeclaration bodyDeclaration, ClassFile classFile, Method method, String name, Type returnedType, BaseType parameterTypes, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, int firstLineNumber) ClassFileMethodDeclaration
(ClassFileBodyDeclaration bodyDeclaration, ClassFile classFile, Method method, BaseAnnotationReference annotationReferences, String name, BaseTypeParameter typeParameters, Type returnedType, BaseType parameterTypes, BaseType exceptionTypes, ElementValue defaultAnnotationValue, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, int firstLineNumber) -
Method Summary
Modifier and TypeMethodDescriptionint
void
setFlags
(int flags) void
setFormalParameters
(BaseFormalParameter formalParameters) void
setStatements
(BaseStatement statements) toString()
Methods inherited from class org.jd.core.v1.model.javasyntax.declaration.MethodDeclaration
accept, getAnnotationReferences, getDefaultAnnotationValue, getDescriptor, getExceptionTypes, getFlags, getFormalParameters, getName, getReturnedType, getStatements, getTypeParameters
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.jd.core.v1.util.Base
getFirst, getLast, getList, isList, iterator, size
Methods inherited from interface org.jd.core.v1.service.converter.classfiletojavasyntax.model.javasyntax.declaration.ClassFileConstructorOrMethodDeclaration
getFlags, getReturnedType, getStatements, getTypeParameters
Methods inherited from interface org.jd.core.v1.model.javasyntax.declaration.Declaration
accept
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Field Details
-
bodyDeclaration
-
classFile
-
method
-
parameterTypes
-
bindings
-
typeBounds
-
firstLineNumber
protected int firstLineNumber
-
-
Constructor Details
-
ClassFileMethodDeclaration
-
ClassFileMethodDeclaration
-
ClassFileMethodDeclaration
public ClassFileMethodDeclaration(ClassFileBodyDeclaration bodyDeclaration, ClassFile classFile, Method method, BaseAnnotationReference annotationReferences, String name, BaseTypeParameter typeParameters, Type returnedType, BaseType parameterTypes, BaseType exceptionTypes, ElementValue defaultAnnotationValue, Map<String, TypeArgument> bindings, Map<String, BaseType> typeBounds, int firstLineNumber)
-
-
Method Details
-
setFlags
public void setFlags(int flags) - Specified by:
setFlags
in interfaceClassFileConstructorOrMethodDeclaration
-
setFormalParameters
- Specified by:
setFormalParameters
in interfaceClassFileConstructorOrMethodDeclaration
-
setStatements
- Specified by:
setStatements
in interfaceClassFileConstructorOrMethodDeclaration
-
getBodyDeclaration
- Specified by:
getBodyDeclaration
in interfaceClassFileConstructorOrMethodDeclaration
-
getClassFile
- Specified by:
getClassFile
in interfaceClassFileConstructorOrMethodDeclaration
-
getMethod
- Specified by:
getMethod
in interfaceClassFileConstructorOrMethodDeclaration
-
getParameterTypes
- Specified by:
getParameterTypes
in interfaceClassFileConstructorOrMethodDeclaration
-
getBindings
- Specified by:
getBindings
in interfaceClassFileConstructorOrMethodDeclaration
-
getTypeBounds
- Specified by:
getTypeBounds
in interfaceClassFileConstructorOrMethodDeclaration
-
getFirstLineNumber
public int getFirstLineNumber()- Specified by:
getFirstLineNumber
in interfaceClassFileMemberDeclaration
-
toString
- Overrides:
toString
in classMethodDeclaration
-