public class org.hibernate.metamodel.relational.Identifier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.hibernate.metamodel.relational.Identifier
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean isQuoted;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public static org.hibernate.metamodel.relational.Identifier toIdentifier(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/hibernate/metamodel/relational/Identifier;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
invokestatic org.hibernate.internal.util.StringHelper.isEmpty:(Ljava/lang/String;)Z
ifeq 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 1
start local 1 3: aload 1
invokestatic org.hibernate.metamodel.relational.Identifier.isQuoted:(Ljava/lang/String;)Z
ifeq 6
4: aload 1
iconst_1
aload 1
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 2
start local 2 5: new org.hibernate.metamodel.relational.Identifier
dup
aload 2
iconst_1
invokespecial org.hibernate.metamodel.relational.Identifier.<init>:(Ljava/lang/String;Z)V
areturn
end local 2 6: StackMap locals: java.lang.String
StackMap stack:
new org.hibernate.metamodel.relational.Identifier
dup
aload 1
iconst_0
invokespecial org.hibernate.metamodel.relational.Identifier.<init>:(Ljava/lang/String;Z)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 name Ljava/lang/String;
3 7 1 trimmedName Ljava/lang/String;
5 6 2 bareName Ljava/lang/String;
MethodParameters:
Name Flags
name
public static boolean isQuoted(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
ldc "`"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 1
aload 0
ldc "`"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public void <init>(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic org.hibernate.internal.util.StringHelper.isEmpty:(Ljava/lang/String;)Z
ifeq 3
2: new org.hibernate.metamodel.relational.IllegalIdentifierException
dup
ldc "Identifier text cannot be null"
invokespecial org.hibernate.metamodel.relational.IllegalIdentifierException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.hibernate.metamodel.relational.Identifier java.lang.String int
StackMap stack:
aload 1
invokestatic org.hibernate.metamodel.relational.Identifier.isQuoted:(Ljava/lang/String;)Z
ifeq 5
4: new org.hibernate.metamodel.relational.IllegalIdentifierException
dup
ldc "Identifier text should not contain quote markers (`)"
invokespecial org.hibernate.metamodel.relational.IllegalIdentifierException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.hibernate.metamodel.relational.Identifier.name:Ljava/lang/String;
6: aload 0
iload 2
putfield org.hibernate.metamodel.relational.Identifier.isQuoted:Z
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/metamodel/relational/Identifier;
0 8 1 name Ljava/lang/String;
0 8 2 quoted Z
MethodParameters:
Name Flags
name
quoted
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.metamodel.relational.Identifier.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/Identifier;
public boolean isQuoted();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.metamodel.relational.Identifier.isQuoted:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/Identifier;
public java.lang.String encloseInQuotesIfQuoted(org.hibernate.dialect.Dialect);
descriptor: (Lorg/hibernate/dialect/Dialect;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.hibernate.metamodel.relational.Identifier.isQuoted:Z
ifeq 6
1: new java.lang.StringBuilder
dup
aload 0
getfield org.hibernate.metamodel.relational.Identifier.name:Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_2
iadd
invokespecial java.lang.StringBuilder.<init>:(I)V
2: aload 1
invokevirtual org.hibernate.dialect.Dialect.openQuote:()C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
3: aload 0
getfield org.hibernate.metamodel.relational.Identifier.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
4: aload 1
invokevirtual org.hibernate.dialect.Dialect.closeQuote:()C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
5: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 7
6: StackMap locals:
StackMap stack:
aload 0
getfield org.hibernate.metamodel.relational.Identifier.name:Ljava/lang/String;
7: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/hibernate/metamodel/relational/Identifier;
0 8 1 dialect Lorg/hibernate/dialect/Dialect;
MethodParameters:
Name Flags
dialect
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.metamodel.relational.Identifier.isQuoted:Z
ifeq 2
1: new java.lang.StringBuilder
dup
bipush 96
invokestatic java.lang.String.valueOf:(C)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual org.hibernate.metamodel.relational.Identifier.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 96
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 3
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.hibernate.metamodel.relational.Identifier.getName:()Ljava/lang/String;
3: StackMap locals:
StackMap stack: java.lang.String
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/hibernate/metamodel/relational/Identifier;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnull 3
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast org.hibernate.metamodel.relational.Identifier
astore 2
start local 2 5: aload 0
getfield org.hibernate.metamodel.relational.Identifier.isQuoted:Z
aload 2
getfield org.hibernate.metamodel.relational.Identifier.isQuoted:Z
if_icmpne 8
6: aload 0
getfield org.hibernate.metamodel.relational.Identifier.name:Ljava/lang/String;
aload 2
getfield org.hibernate.metamodel.relational.Identifier.name:Ljava/lang/String;
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 8
7: iconst_1
ireturn
StackMap locals: org.hibernate.metamodel.relational.Identifier
StackMap stack:
8: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/hibernate/metamodel/relational/Identifier;
0 9 1 o Ljava/lang/Object;
5 9 2 that Lorg/hibernate/metamodel/relational/Identifier;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.hibernate.metamodel.relational.Identifier.name:Ljava/lang/String;
invokevirtual java.lang.String.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/hibernate/metamodel/relational/Identifier;
}
SourceFile: "Identifier.java"