org.sonar.java.bytecode.asm
Class AsmMethod
java.lang.Object
org.sonar.java.bytecode.asm.AsmResource
org.sonar.java.bytecode.asm.AsmMethod
public class AsmMethod
- extends AsmResource
Methods inherited from class org.sonar.java.bytecode.asm.AsmResource |
addEdge, getDistinctUsedAsmClasses, getImplementedInterfaces, getOutgoingEdges, getParent, isAbstract, isDeprecated, isInterface, isPrivate, isProtected, isStatic, isUsed, setUsed |
AsmMethod
public AsmMethod(AsmClass parent,
String name,
String descriptor)
AsmMethod
public AsmMethod(AsmClass parent,
String key)
getName
public String getName()
getKey
public String getKey()
getGenericKey
public String getGenericKey()
setSignature
public void setSignature(String signature)
getSignature
public String getSignature()
getCallsToField
public List<AsmField> getCallsToField()
getCallsToMethod
public List<AsmMethod> getCallsToMethod()
equals
public boolean equals(Object object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
isConstructor
public boolean isConstructor()
isDefaultConstructor
public boolean isDefaultConstructor()
isInherited
public boolean isInherited()
isEmpty
public boolean isEmpty()
isBodyLoaded
public boolean isBodyLoaded()
isAccessor
public boolean isAccessor()
getAccessedField
public AsmField getAccessedField()
toString
public String toString()
- Overrides:
toString
in class Object
isStaticConstructor
public boolean isStaticConstructor()
linkTo
public void linkTo(AsmMethod implementationLinkage)
getImplementationLinkage
public AsmMethod getImplementationLinkage()
Copyright © 2009-2011 SonarSource. All Rights Reserved.