org.mutabilitydetector.checkers.util
Class PrivateMethodInvocationChecker

java.lang.Object
  extended by org.objectweb.asm.ClassVisitor
      extended by org.mutabilitydetector.checkers.AsmMutabilityChecker
          extended by org.mutabilitydetector.checkers.AbstractMutabilityChecker
              extended by org.mutabilitydetector.checkers.util.PrivateMethodInvocationChecker

public final class PrivateMethodInvocationChecker
extends AbstractMutabilityChecker


Field Summary
 
Fields inherited from class org.mutabilitydetector.checkers.AbstractMutabilityChecker
ownerClass, reasons
 
Fields inherited from class org.objectweb.asm.ClassVisitor
api, cv
 
Constructor Summary
PrivateMethodInvocationChecker()
           
 
Method Summary
 boolean isPrivateMethodCalledOnlyFromConstructor(String methodDescriptor)
           
 org.objectweb.asm.MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)
           
 
Methods inherited from class org.mutabilitydetector.checkers.AbstractMutabilityChecker
checkerResult, createResult, getCodeLocationForException, reasons, result, setResult, visit, visitAnalysisException, visitAnnotation, visitAttribute, visitEnd, visitField, visitInnerClass, visitOuterClass, visitSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrivateMethodInvocationChecker

public PrivateMethodInvocationChecker()
Method Detail

isPrivateMethodCalledOnlyFromConstructor

public boolean isPrivateMethodCalledOnlyFromConstructor(String methodDescriptor)

visitMethod

public org.objectweb.asm.MethodVisitor visitMethod(int access,
                                                   String name,
                                                   String desc,
                                                   String signature,
                                                   String[] exceptions)
Overrides:
visitMethod in class AbstractMutabilityChecker


Copyright © 2013. All Rights Reserved.