org.mutabilitydetector.checkers
Class AccessModifierQuery

java.lang.Object
  extended by org.mutabilitydetector.checkers.AccessModifierQuery

public class AccessModifierQuery
extends Object

Used to check for the existence of an access flag used in ASM visitors. The class is designed to be used in a fluent way, a typical usage would be: method(int).isPrivate(); field(int).isStatic();


Method Summary
static AccessModifierQuery field(int access)
           
 boolean isAbstract()
           
 boolean isFinal()
           
 boolean isInterface()
           
 boolean isNotFinal()
           
 boolean isNotPrivate()
           
 boolean isNotStatic()
           
 boolean isNotSynthetic()
           
 boolean isPrivate()
           
 boolean isStatic()
           
 boolean isSynthetic()
           
static AccessModifierQuery method(int access)
           
static AccessModifierQuery type(int access)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

method

public static AccessModifierQuery method(int access)

type

public static AccessModifierQuery type(int access)

field

public static AccessModifierQuery field(int access)

isPrivate

public boolean isPrivate()

isNotPrivate

public boolean isNotPrivate()

isFinal

public boolean isFinal()

isNotFinal

public boolean isNotFinal()

isSynthetic

public boolean isSynthetic()

isNotSynthetic

public boolean isNotSynthetic()

isAbstract

public boolean isAbstract()

isInterface

public boolean isInterface()

isStatic

public boolean isStatic()

isNotStatic

public boolean isNotStatic()


Copyright © 2013. All Rights Reserved.