org.sonar.squid.bytecode.asm
Class AsmClass

java.lang.Object
  extended by org.sonar.squid.bytecode.asm.AsmUnit
      extended by org.sonar.squid.bytecode.asm.AsmClass

public class AsmClass
extends AsmUnit


Constructor Summary
AsmClass(int version, int access, String className, String signature, String superClass, String[] interfaces)
           
 
Method Summary
 void addField(AsmField field)
           
 void addMethod(AsmMethod asmMethod)
           
 String getClassName()
           
 AsmField getField(String fieldName)
           
 Collection<AsmField> getFields()
           
 AsmMethod getMethod(String key)
           
 Collection<AsmMethod> getMethods()
           
 boolean isAbstract()
           
 boolean isInterface()
           
 
Methods inherited from class org.sonar.squid.bytecode.asm.AsmUnit
isFinal, isPrivate, isProtected, isPublic, isStatic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsmClass

public AsmClass(int version,
                int access,
                String className,
                String signature,
                String superClass,
                String[] interfaces)
Method Detail

isAbstract

public boolean isAbstract()

isInterface

public boolean isInterface()

getClassName

public String getClassName()

addMethod

public void addMethod(AsmMethod asmMethod)

getMethods

public Collection<AsmMethod> getMethods()

getFields

public Collection<AsmField> getFields()

addField

public void addField(AsmField field)

getField

public AsmField getField(String fieldName)

getMethod

public AsmMethod getMethod(String key)


Copyright © 2009 SonarSource SA. All Rights Reserved.