net.sf.jour.signature
Class APIFilter

java.lang.Object
  extended by net.sf.jour.signature.APIFilter

public class APIFilter
extends java.lang.Object

Author:
vlads

Field Summary
static APIFilter ALL
           
static java.lang.String javaLangString
           
static int PACKAGE
           
static int PRIVATE
           
static int PROTECTED
           
static int PUBLIC
           
 
Constructor Summary
APIFilter(int level)
           
APIFilter(java.lang.String level)
           
APIFilter(java.lang.String level, java.lang.String packages)
           
 
Method Summary
static int getAPILevel(java.lang.String level)
           
 APIFilter getLessRestrictiveFilter()
           
 boolean isAPIClass(javassist.CtClass klass)
           
 boolean isAPIMember(javassist.CtMember member)
           
 boolean isAPIModifier(int mod)
           
static boolean isExportableConstantType(javassist.CtClass klass)
           
 boolean isSelectedPackage(java.lang.String className)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

javaLangString

public static final java.lang.String javaLangString
See Also:
Constant Field Values

PUBLIC

public static final int PUBLIC
See Also:
Constant Field Values

PROTECTED

public static final int PROTECTED
See Also:
Constant Field Values

PACKAGE

public static final int PACKAGE
See Also:
Constant Field Values

PRIVATE

public static final int PRIVATE
See Also:
Constant Field Values

ALL

public static final APIFilter ALL
Constructor Detail

APIFilter

public APIFilter(int level)
          throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

APIFilter

public APIFilter(java.lang.String level)
          throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

APIFilter

public APIFilter(java.lang.String level,
                 java.lang.String packages)
          throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException
Method Detail

getAPILevel

public static int getAPILevel(java.lang.String level)
                       throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

isAPIModifier

public boolean isAPIModifier(int mod)

isSelectedPackage

public boolean isSelectedPackage(java.lang.String className)

isAPIClass

public boolean isAPIClass(javassist.CtClass klass)

isAPIMember

public boolean isAPIMember(javassist.CtMember member)

isExportableConstantType

public static boolean isExportableConstantType(javassist.CtClass klass)

getLessRestrictiveFilter

public APIFilter getLessRestrictiveFilter()
                                   throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException


Copyright © 2004-2008 pyx4j.com. All Rights Reserved.