JBoss Reflection 2.2.1.SP1

org.jboss.reflect.spi
Interface ModifierInfo

All Known Subinterfaces:
AnnotationInfo, ArrayInfo, ClassInfo, ConstructorInfo, EnumInfo, FieldInfo, InterfaceInfo, MemberInfo, MethodInfo, MutableClassInfo, MutableConstructorInfo, MutableFieldInfo, MutableMethodInfo
All Known Implementing Classes:
AnnotationInfoImpl, ArrayInfoImpl, BytecodeAnnotationInfo, BytecodeArrayInfoImpl, BytecodeConstructorInfo, BytecodeEnumInfo, BytecodeFieldInfo, BytecodeMethodInfo, BytecodeParameterizedClassInfo, BytecodeTypeInfo, ClassInfoImpl, ConstructorInfoImpl, DelegateClassInfo, EnumInfoImpl, FieldInfoImpl, InterfaceInfoImpl, JavassistAnnotationInfo, JavassistArrayInfoImpl, JavassistConstructorInfo, JavassistEnumInfo, JavassistFieldInfo, JavassistMethodInfo, JavassistParameterizedClassInfo, JavassistTypeInfo, MethodInfoImpl, NumberInfo, ParameterizedArrayInfo, ParameterizedClassInfo, ReflectClassInfoImpl, ReflectConstructorInfoImpl, ReflectFieldInfoImpl, ReflectMethodInfoImpl

public interface ModifierInfo

Modifier info Note that modifiers that are not specified with any restrictions are by default package protected. eg: ModifierInfo.STATIC.

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()
           
 boolean isStatic()
          Whether it is static
 boolean isVolatile()
          Whether it is volatile
 

Field Detail

FINAL

static final int FINAL
Final

See Also:
Constant Field Values

STATIC

static final int STATIC
Static

See Also:
Constant Field Values

ABSTRACT

static final int ABSTRACT
Abstract

See Also:
Constant Field Values

PUBLIC

static final int PUBLIC
Public

See Also:
Constant Field Values

PROTECTED

static final int PROTECTED
Protected

See Also:
Constant Field Values

PACKAGE

static final int PACKAGE
Package

See Also:
Constant Field Values

PRIVATE

static final int PRIVATE
Private

See Also:
Constant Field Values

CONSTANT

static final int CONSTANT
A constant

See Also:
Constant Field Values

PUBLIC_CONSTANT

static final int PUBLIC_CONSTANT
A public constant

See Also:
Constant Field Values

PROTECTED_CONSTANT

static final int PROTECTED_CONSTANT
A protected constant

See Also:
Constant Field Values

PACKAGE_CONSTANT

static final int PACKAGE_CONSTANT
A package constant

See Also:
Constant Field Values

PRIVATE_CONSTANT

static final int PRIVATE_CONSTANT
A private constant

See Also:
Constant Field Values

PUBLIC_STATIC

static final int PUBLIC_STATIC
Public Static

See Also:
Constant Field Values

PROTECTED_STATIC

static final int PROTECTED_STATIC
Protected Static

See Also:
Constant Field Values

PACKAGE_STATIC

static final int PACKAGE_STATIC
Package Static

See Also:
Constant Field Values

PRIVATE_STATIC

static final int PRIVATE_STATIC
Private Static

See Also:
Constant Field Values

PUBLIC_ABSTRACT

static final int PUBLIC_ABSTRACT
Public Abstract

See Also:
Constant Field Values

PROTECTED_ABSTRACT

static final int PROTECTED_ABSTRACT
Protected Abstract

See Also:
Constant Field Values

PACKAGE_ABSTRACT

static final int PACKAGE_ABSTRACT
Package Abstract

See Also:
Constant Field Values
Method Detail

getModifiers

int getModifiers()
Get the modifiers

Returns:
the modifiers

isPublic

boolean isPublic()

isStatic

boolean isStatic()
Whether it is static

Returns:
true when static

isVolatile

boolean isVolatile()
Whether it is volatile

Returns:
true if volatile

JBoss Reflection 2.2.1.SP1

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.