APIdia Launch Partner
Top Description Fields Constructors Methods
jdk.internal.classfile.impl.verifier

pack-priv Class VerificationType

extends Object
Class Inheritance
Imports
java.lang.reflect.Field, .Modifier, java.util.IdentityHashMap, .Map, .Objects, jdk.internal.classfile.impl.ClassHierarchyImpl, .Util

From verificationType.cpp.

Field Summary

Modifier and TypeField and Description
private static final Map<VerificationType, String>
private final int
private final String
private static final int
private static final int
private static final int
private static final int
pack-priv static final VerificationType
private static final int
pack-priv static final VerificationType
private static final int
pack-priv static final VerificationType
private static final int
pack-priv static final VerificationType
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
pack-priv static final VerificationType
private static final int
private static final int
private static final int
pack-priv static final VerificationType
private static final int
pack-priv static final VerificationType
private static final int
pack-priv static final VerificationType
private static final int
pack-priv static final VerificationType
private static final int
pack-priv static final VerificationType
private static final int
pack-priv static final VerificationType
private static final int
pack-priv static final VerificationType
private static final int
pack-priv static final VerificationType
private static final int
private static final int
pack-priv static final VerificationType
private static final int
private static final int
private static final int
pack-priv static final VerificationType
private static final int
private static final int
private static final int
pack-priv static final VerificationType

Constructor Summary

AccessConstructor and Description
pack-priv
public
VerificationType(int data, String sym)

pack-priv
VerificationType(int raw_data)

Method Summary

Modifier and TypeMethod and Description
private boolean
pack-priv int
bci(VerifierImpl context)

pack-priv int
public boolean
equals(Object obj)

Overrides java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

pack-priv static VerificationType
from_tag(int tag, VerifierImpl context)

pack-priv VerificationType
public int
hashCode()

Overrides java.lang.Object.hashCode.

Returns a hash code value for this object.

pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
is_reference_assignable_from(VerificationType from, VerifierImpl context, boolean[] target_is_interface)

pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
is_x_array(char sig)

pack-priv String
name()

pack-priv static VerificationType
pack-priv boolean
resolve_and_check_assignability(ClassHierarchyImpl assignResolver, String target_name, String from_name, boolean from_is_array, boolean from_is_object, boolean[] target_is_interface)

pack-priv VerificationType
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

pack-priv static VerificationType
Inherited from java.lang.Object:
clonefinalizegetClassnotifynotifyAllwaitwaitwait

Field Detail

_constantsMapback to summary
private static final Map<VerificationType, String> _constantsMap
_databack to summary
private final int _data
_symback to summary
private final String _sym
BciForThisback to summary
private static final int BciForThis
BciMaskback to summary
private static final int BciMask
BitsPerByteback to summary
private static final int BitsPerByte
Bogusback to summary
private static final int Bogus
bogus_typeback to summary
pack-priv static final VerificationType bogus_type
Booleanback to summary
private static final int Boolean
boolean_typeback to summary
pack-priv static final VerificationType boolean_type
Byteback to summary
private static final int Byte
byte_typeback to summary
pack-priv static final VerificationType byte_type
Category1back to summary
private static final int Category1
category1_checkback to summary
pack-priv static final VerificationType category1_check
Category1Flagback to summary
private static final int Category1Flag
Category1Queryback to summary
private static final int Category1Query
Category2back to summary
private static final int Category2
Category2_2ndback to summary
private static final int Category2_2nd
Category2_2ndFlagback to summary
private static final int Category2_2ndFlag
Category2_2ndQueryback to summary
private static final int Category2_2ndQuery
category2_checkback to summary
pack-priv static final VerificationType category2_check
Category2Flagback to summary
private static final int Category2Flag
Category2Queryback to summary
private static final int Category2Query
Charback to summary
private static final int Char
char_typeback to summary
pack-priv static final VerificationType char_type
Doubleback to summary
private static final int Double
double2_typeback to summary
pack-priv static final VerificationType double2_type
Double_2ndback to summary
private static final int Double_2nd
double_typeback to summary
pack-priv static final VerificationType double_type
Floatback to summary
private static final int Float
float_typeback to summary
pack-priv static final VerificationType float_type
Integerback to summary
private static final int Integer
integer_typeback to summary
pack-priv static final VerificationType integer_type
Longback to summary
private static final int Long
long2_typeback to summary
pack-priv static final VerificationType long2_type
Long_2ndback to summary
private static final int Long_2nd
long_typeback to summary
pack-priv static final VerificationType long_type
Nullback to summary
private static final int Null
null_typeback to summary
pack-priv static final VerificationType null_type
Primitiveback to summary
private static final int Primitive
Referenceback to summary
private static final int Reference
reference_checkback to summary
pack-priv static final VerificationType reference_check
ReferenceFlagback to summary
private static final int ReferenceFlag
ReferenceQueryback to summary
private static final int ReferenceQuery
Shortback to summary
private static final int Short
short_typeback to summary
pack-priv static final VerificationType short_type
TypeMaskback to summary
private static final int TypeMask
TypeQueryback to summary
private static final int TypeQuery
Uninitializedback to summary
private static final int Uninitialized
uninitialized_this_typeback to summary
pack-priv static final VerificationType uninitialized_this_type

Constructor Detail

VerificationTypeback to summary
pack-priv VerificationType(String sym)
VerificationTypeback to summary
public VerificationType(int data, String sym)
VerificationTypeback to summary
pack-priv VerificationType(int raw_data)

Method Detail

_is_assignable_fromback to summary
private boolean _is_assignable_from(VerificationType from, VerifierImpl context)
bciback to summary
pack-priv int bci(VerifierImpl context)
dimensionsback to summary
pack-priv int dimensions(VerifierImpl context)
equalsback to summary
public boolean equals(Object obj)

Overrides java.lang.Object.equals.

Doc from java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

The equals method implements an equivalence relation on non-null object references:

  • It is reflexive: for any non-null reference value x, x.equals(x) should return true.
  • It is symmetric: for any non-null reference values x and y, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any non-null reference values x, y, and z, if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.
  • It is consistent: for any non-null reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the objects is modified.
  • For any non-null reference value x, x.equals(null) should return false.

An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.

Annotations
@Override
from_tagback to summary
pack-priv static VerificationType from_tag(int tag, VerifierImpl context)
get_componentback to summary
pack-priv VerificationType get_component(VerifierImpl context)
hashCodeback to summary
public int hashCode()

Overrides java.lang.Object.hashCode.

Doc from java.lang.Object.hashCode.

Returns a hash code value for this object. This method is supported for the benefit of hash tables such as those provided by java.util.HashMap.

The general contract of hashCode is:

  • Whenever it is invoked on the same object more than once during an execution of a Java application, the hashCode method must consistently return the same integer, provided no information used in equals comparisons on the object is modified. This integer need not remain consistent from one execution of an application to another execution of the same application.
  • If two objects are equal according to the equals method, then calling the hashCode method on each of the two objects must produce the same integer result.
  • It is not required that if two objects are unequal according to the equals method, then calling the hashCode method on each of the two objects must produce distinct integer results. However, the programmer should be aware that producing distinct integer results for unequal objects may improve the performance of hash tables.
Annotations
@Override
is_arrayback to summary
pack-priv boolean is_array()
is_array_arrayback to summary
pack-priv boolean is_array_array()
is_assignable_fromback to summary
pack-priv boolean is_assignable_from(VerificationType from, VerifierImpl context)
is_bogusback to summary
pack-priv boolean is_bogus()
is_bool_arrayback to summary
pack-priv boolean is_bool_array()
is_byte_arrayback to summary
pack-priv boolean is_byte_array()
is_category1back to summary
pack-priv boolean is_category1(VerifierImpl context)
is_category2back to summary
pack-priv boolean is_category2()
is_category2_2ndback to summary
pack-priv boolean is_category2_2nd()
is_char_arrayback to summary
pack-priv boolean is_char_array()
is_checkback to summary
pack-priv boolean is_check()
is_component_assignable_fromback to summary
pack-priv boolean is_component_assignable_from(VerificationType from, VerifierImpl context)
is_doubleback to summary
pack-priv boolean is_double()
is_double2back to summary
pack-priv boolean is_double2()
is_double_arrayback to summary
pack-priv boolean is_double_array()
is_float_arrayback to summary
pack-priv boolean is_float_array()
is_int_arrayback to summary
pack-priv boolean is_int_array()
is_integerback to summary
pack-priv boolean is_integer()
is_longback to summary
pack-priv boolean is_long()
is_long2back to summary
pack-priv boolean is_long2()
is_long_arrayback to summary
pack-priv boolean is_long_array()
is_nullback to summary
pack-priv boolean is_null()
is_objectback to summary
pack-priv boolean is_object()
is_object_arrayback to summary
pack-priv boolean is_object_array()
is_referenceback to summary
pack-priv boolean is_reference()
is_reference_arrayback to summary
pack-priv boolean is_reference_array()
is_reference_assignable_fromback to summary
pack-priv boolean is_reference_assignable_from(VerificationType from, VerifierImpl context, boolean[] target_is_interface)
is_short_arrayback to summary
pack-priv boolean is_short_array()
is_uninitializedback to summary
pack-priv boolean is_uninitialized()
is_uninitialized_thisback to summary
pack-priv boolean is_uninitialized_this(VerifierImpl context)
is_x_arrayback to summary
pack-priv boolean is_x_array(char sig)
nameback to summary
pack-priv String name()
reference_typeback to summary
pack-priv static VerificationType reference_type(String sh)
resolve_and_check_assignabilityback to summary
pack-priv boolean resolve_and_check_assignability(ClassHierarchyImpl assignResolver, String target_name, String from_name, boolean from_is_array, boolean from_is_object, boolean[] target_is_interface)
to_category2_2ndback to summary
pack-priv VerificationType to_category2_2nd(VerifierImpl context)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override
uninitialized_typeback to summary
pack-priv static VerificationType uninitialized_type(int bci)