org.jboss.reflect.spi
Interface ModifierInfo

All Known Subinterfaces:
AnnotationInfo, ArrayInfo, ClassInfo, ConstructorInfo, EnumInfo, FieldInfo, InterfaceInfo, MemberInfo, MethodInfo
All Known Implementing Classes:
AnnotationInfoImpl, ArrayInfoImpl, ClassInfoImpl, ConstructorInfoImpl, EnumInfoImpl, FieldInfoImpl, InterfaceInfoImpl, MethodInfoImpl

public interface ModifierInfo

Modifier info

Author:
Adrian Brock

Field Summary
static int ABSTRACT
          Abstract
static int CONSTANT
          A constant
static int FINAL
          Final
static int PACKAGE
          Package
static int PACKAGE_ABSTRACT
          Package Abstract
static int PACKAGE_CONSTANT
          A package constant
static int PACKAGE_STATIC
          Package Static
static int PRIVATE
          Private
static int PRIVATE_CONSTANT
          A private constant
static int PRIVATE_STATIC
          Private Static
static int PROTECTED
          Protected
static int PROTECTED_ABSTRACT
          Protected Abstract
static int PROTECTED_CONSTANT
          A protected constant
static int PROTECTED_STATIC
          Protected Static
static int PUBLIC
          Public
static int PUBLIC_ABSTRACT
          Public Abstract
static int PUBLIC_CONSTANT
          A public constant
static int PUBLIC_STATIC
          Public Static
static int STATIC
          Static
 
Method Summary
 int getModifiers()
          Get the modifiers
 boolean isPublic()
          Whether it is public
 boolean isStatic()
          Whether it is static
 

Field Detail

FINAL

public static final int FINAL
Final

See Also:
Constant Field Values

STATIC

public static final int STATIC
Static

See Also:
Constant Field Values

ABSTRACT

public static final int ABSTRACT
Abstract

See Also:
Constant Field Values

PUBLIC

public static final int PUBLIC
Public

See Also:
Constant Field Values

PROTECTED

public static final int PROTECTED
Protected

See Also:
Constant Field Values

PACKAGE

public static final int PACKAGE
Package

See Also:
Constant Field Values

PRIVATE

public static final int PRIVATE
Private

See Also:
Constant Field Values

CONSTANT

public static final int CONSTANT
A constant

See Also:
Constant Field Values

PUBLIC_CONSTANT

public static final int PUBLIC_CONSTANT
A public constant

See Also:
Constant Field Values

PROTECTED_CONSTANT

public static final int PROTECTED_CONSTANT
A protected constant

See Also:
Constant Field Values

PACKAGE_CONSTANT

public static final int PACKAGE_CONSTANT
A package constant

See Also:
Constant Field Values

PRIVATE_CONSTANT

public static final int PRIVATE_CONSTANT
A private constant

See Also:
Constant Field Values

PUBLIC_STATIC

public static final int PUBLIC_STATIC
Public Static

See Also:
Constant Field Values

PROTECTED_STATIC

public static final int PROTECTED_STATIC
Protected Static

See Also:
Constant Field Values

PACKAGE_STATIC

public static final int PACKAGE_STATIC
Package Static

See Also:
Constant Field Values

PRIVATE_STATIC

public static final int PRIVATE_STATIC
Private Static

See Also:
Constant Field Values

PUBLIC_ABSTRACT

public static final int PUBLIC_ABSTRACT
Public Abstract

See Also:
Constant Field Values

PROTECTED_ABSTRACT

public static final int PROTECTED_ABSTRACT
Protected Abstract

See Also:
Constant Field Values

PACKAGE_ABSTRACT

public static final int PACKAGE_ABSTRACT
Package Abstract

See Also:
Constant Field Values
Method Detail

getModifiers

public int getModifiers()
Get the modifiers

Returns:
the modifiers

isPublic

public boolean isPublic()
Whether it is public

Returns:
true when public

isStatic

public boolean isStatic()
Whether it is static

Returns:
true when static


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.