public static interface ModifierReviewable.OfByteCodeElement extends ModifierReviewable
ByteCodeElement
, i.e. a type, a field or a method.ModifierReviewable.AbstractBase, ModifierReviewable.ForFieldDescription, ModifierReviewable.ForMethodDescription, ModifierReviewable.ForParameterDescription, ModifierReviewable.ForTypeDefinition, ModifierReviewable.OfAbstraction, ModifierReviewable.OfByteCodeElement, ModifierReviewable.OfEnumeration
EMPTY_MASK
Modifier and Type | Method and Description |
---|---|
Ownership |
getOwnership()
Return's this byte code element's ownership.
|
Visibility |
getVisibility()
Returns this byte code element's visibility.
|
boolean |
isDeprecated()
Specifies if the modifier described by this object represents the deprecated flag.
|
boolean |
isPackagePrivate()
Specifies if the modifier described by this object is package private.
|
boolean |
isPrivate()
Specifies if the modifier described by this object is
private . |
boolean |
isProtected()
Specifies if the modifier described by this object is
protected . |
boolean |
isPublic()
Specifies if the modifier described by this object is
public . |
boolean |
isStatic()
Specifies if the modifier described by this object is
static . |
getModifiers, getSyntheticState, isFinal, isSynthetic
boolean isPublic()
public
.true
if the modifier described by this object is public
.boolean isProtected()
protected
.true
if the modifier described by this object is protected
.boolean isPackagePrivate()
true
if the modifier described by this object is package private.boolean isPrivate()
private
.true
if the modifier described by this object is private
.boolean isStatic()
static
.true
if the modifier described by this object is static
.boolean isDeprecated()
true
if the modifier described by this object represents the deprecated flag.Ownership getOwnership()
Visibility getVisibility()
Copyright © 2014–2020. All rights reserved.