final class com.sun.jndi.ldap.LdapAttribute extends javax.naming.directory.BasicAttribute
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.ldap.LdapAttribute
super_class: javax.naming.directory.BasicAttribute
{
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -4288716561020779584
private transient javax.naming.directory.DirContext baseCtx;
descriptor: Ljavax/naming/directory/DirContext;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private javax.naming.Name rdn;
descriptor: Ljavax/naming/Name;
flags: (0x0002) ACC_PRIVATE
private java.lang.String baseCtxURL;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.Hashtable<java.lang.String, ? super java.lang.String> baseCtxEnv;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Hashtable<Ljava/lang/String;-Ljava/lang/String;>;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: new com.sun.jndi.ldap.LdapAttribute
dup
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.attrID:Ljava/lang/String;
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.rdn:Ljavax/naming/Name;
invokespecial com.sun.jndi.ldap.LdapAttribute.<init>:(Ljava/lang/String;Ljavax/naming/directory/DirContext;Ljavax/naming/Name;)V
astore 1
start local 1 1: aload 1
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.values:Ljava/util/Vector;
invokevirtual java.util.Vector.clone:()Ljava/lang/Object;
checkcast java.util.Vector
putfield com.sun.jndi.ldap.LdapAttribute.values:Ljava/util/Vector;
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/LdapAttribute;
1 3 1 attr Lcom/sun/jndi/ldap/LdapAttribute;
public boolean add(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jndi.ldap.LdapAttribute.values:Ljava/util/Vector;
aload 1
invokevirtual java.util.Vector.addElement:(Ljava/lang/Object;)V
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/jndi/ldap/LdapAttribute;
0 2 1 attrVal Ljava/lang/Object;
MethodParameters:
Name Flags
attrVal
void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial javax.naming.directory.BasicAttribute.<init>:(Ljava/lang/String;)V
1: aload 0
aconst_null
putfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
2: aload 0
new javax.naming.CompositeName
dup
invokespecial javax.naming.CompositeName.<init>:()V
putfield com.sun.jndi.ldap.LdapAttribute.rdn:Ljavax/naming/Name;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/ldap/LdapAttribute;
0 4 1 id Ljava/lang/String;
MethodParameters:
Name Flags
id
private void <init>(java.lang.String, javax.naming.directory.DirContext, javax.naming.Name);
descriptor: (Ljava/lang/String;Ljavax/naming/directory/DirContext;Ljavax/naming/Name;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial javax.naming.directory.BasicAttribute.<init>:(Ljava/lang/String;)V
1: aload 0
aconst_null
putfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
2: aload 0
new javax.naming.CompositeName
dup
invokespecial javax.naming.CompositeName.<init>:()V
putfield com.sun.jndi.ldap.LdapAttribute.rdn:Ljavax/naming/Name;
3: aload 0
aload 2
putfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
4: aload 0
aload 3
putfield com.sun.jndi.ldap.LdapAttribute.rdn:Ljavax/naming/Name;
5: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/jndi/ldap/LdapAttribute;
0 6 1 id Ljava/lang/String;
0 6 2 baseCtx Ljavax/naming/directory/DirContext;
0 6 3 rdn Ljavax/naming/Name;
MethodParameters:
Name Flags
id
baseCtx
rdn
void setParent(javax.naming.directory.DirContext, javax.naming.Name);
descriptor: (Ljavax/naming/directory/DirContext;Ljavax/naming/Name;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
putfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
1: aload 0
aload 2
putfield com.sun.jndi.ldap.LdapAttribute.rdn:Ljavax/naming/Name;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/LdapAttribute;
0 3 1 baseCtx Ljavax/naming/directory/DirContext;
0 3 2 rdn Ljavax/naming/Name;
MethodParameters:
Name Flags
baseCtx
rdn
private javax.naming.directory.DirContext getBaseCtx();
descriptor: ()Ljavax/naming/directory/DirContext;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
ifnonnull 8
1: aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtxEnv:Ljava/util/Hashtable;
ifnonnull 3
2: aload 0
new java.util.Hashtable
dup
iconst_3
invokespecial java.util.Hashtable.<init>:(I)V
putfield com.sun.jndi.ldap.LdapAttribute.baseCtxEnv:Ljava/util/Hashtable;
3: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtxEnv:Ljava/util/Hashtable;
ldc "java.naming.factory.initial"
4: ldc "com.sun.jndi.ldap.LdapCtxFactory"
5: invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtxEnv:Ljava/util/Hashtable;
ldc "java.naming.provider.url"
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtxURL:Ljava/lang/String;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
7: aload 0
new javax.naming.directory.InitialDirContext
dup
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtxEnv:Ljava/util/Hashtable;
invokespecial javax.naming.directory.InitialDirContext.<init>:(Ljava/util/Hashtable;)V
putfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
8: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/jndi/ldap/LdapAttribute;
Exceptions:
throws javax.naming.NamingException
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.jndi.ldap.LdapAttribute.setBaseCtxInfo:()V
1: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/jndi/ldap/LdapAttribute;
0 3 1 out Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
out
private void setBaseCtxInfo();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=5, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aconst_null
astore 2
start local 2 2: aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
ifnull 5
3: aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
checkcast com.sun.jndi.ldap.LdapCtx
getfield com.sun.jndi.ldap.LdapCtx.envprops:Ljava/util/Hashtable;
astore 1
4: aload 0
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.baseCtx:Ljavax/naming/directory/DirContext;
checkcast com.sun.jndi.ldap.LdapCtx
invokevirtual com.sun.jndi.ldap.LdapCtx.getURL:()Ljava/lang/String;
putfield com.sun.jndi.ldap.LdapAttribute.baseCtxURL:Ljava/lang/String;
5: StackMap locals: java.util.Hashtable java.util.Hashtable
StackMap stack:
aload 1
ifnull 13
aload 1
invokevirtual java.util.Hashtable.size:()I
ifle 13
6: aload 1
invokevirtual java.util.Hashtable.keySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: com.sun.jndi.ldap.LdapAttribute java.util.Hashtable java.util.Hashtable top java.util.Iterator
StackMap stack:
7: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 8: aload 3
ldc "security"
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
iconst_m1
if_icmpeq 12
9: aload 2
ifnonnull 11
10: aload 1
invokevirtual java.util.Hashtable.clone:()Ljava/lang/Object;
checkcast java.util.Hashtable
astore 2
11: StackMap locals: com.sun.jndi.ldap.LdapAttribute java.util.Hashtable java.util.Hashtable java.lang.String java.util.Iterator
StackMap stack:
aload 2
aload 3
invokevirtual java.util.Hashtable.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 12: StackMap locals: com.sun.jndi.ldap.LdapAttribute java.util.Hashtable java.util.Hashtable top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
13: StackMap locals: com.sun.jndi.ldap.LdapAttribute java.util.Hashtable java.util.Hashtable
StackMap stack:
aload 0
aload 2
ifnonnull 14
aload 1
goto 15
StackMap locals:
StackMap stack: com.sun.jndi.ldap.LdapAttribute
14: aload 2
StackMap locals: com.sun.jndi.ldap.LdapAttribute java.util.Hashtable java.util.Hashtable
StackMap stack: com.sun.jndi.ldap.LdapAttribute java.util.Hashtable
15: putfield com.sun.jndi.ldap.LdapAttribute.baseCtxEnv:Ljava/util/Hashtable;
16: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/jndi/ldap/LdapAttribute;
1 17 1 realEnv Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;
2 17 2 secureEnv Ljava/util/Hashtable<Ljava/lang/String;Ljava/lang/Object;>;
8 12 3 key Ljava/lang/String;
public javax.naming.directory.DirContext getAttributeSyntaxDefinition();
descriptor: ()Ljavax/naming/directory/DirContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.ldap.LdapAttribute.getBaseCtx:()Ljavax/naming/directory/DirContext;
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.rdn:Ljavax/naming/Name;
invokeinterface javax.naming.directory.DirContext.getSchema:(Ljavax/naming/Name;)Ljavax/naming/directory/DirContext;
astore 1
start local 1 1: aload 1
2: new java.lang.StringBuilder
dup
ldc "AttributeDefinition/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.jndi.ldap.LdapAttribute.getID:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokeinterface javax.naming.directory.DirContext.lookup:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.naming.directory.DirContext
astore 2
start local 2 4: aload 2
ldc ""
invokeinterface javax.naming.directory.DirContext.getAttributes:(Ljava/lang/String;)Ljavax/naming/directory/Attributes;
ldc "SYNTAX"
invokeinterface javax.naming.directory.Attributes.get:(Ljava/lang/String;)Ljavax/naming/directory/Attribute;
astore 3
start local 3 5: aload 3
ifnull 6
aload 3
invokeinterface javax.naming.directory.Attribute.size:()I
ifne 9
6: StackMap locals: javax.naming.directory.DirContext javax.naming.directory.DirContext javax.naming.directory.Attribute
StackMap stack:
new javax.naming.NameNotFoundException
dup
7: new java.lang.StringBuilder
dup
aload 0
invokevirtual com.sun.jndi.ldap.LdapAttribute.getID:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "does not have a syntax associated with it"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
8: invokespecial javax.naming.NameNotFoundException.<init>:(Ljava/lang/String;)V
athrow
9: StackMap locals:
StackMap stack:
aload 3
invokeinterface javax.naming.directory.Attribute.get:()Ljava/lang/Object;
checkcast java.lang.String
astore 4
start local 4 10: aload 1
11: new java.lang.StringBuilder
dup
ldc "SyntaxDefinition/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
12: invokeinterface javax.naming.directory.DirContext.lookup:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.naming.directory.DirContext
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/jndi/ldap/LdapAttribute;
1 13 1 schema Ljavax/naming/directory/DirContext;
4 13 2 attrDef Ljavax/naming/directory/DirContext;
5 13 3 syntaxAttr Ljavax/naming/directory/Attribute;
10 13 4 syntaxName Ljava/lang/String;
Exceptions:
throws javax.naming.NamingException
public javax.naming.directory.DirContext getAttributeDefinition();
descriptor: ()Ljavax/naming/directory/DirContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.ldap.LdapAttribute.getBaseCtx:()Ljavax/naming/directory/DirContext;
aload 0
getfield com.sun.jndi.ldap.LdapAttribute.rdn:Ljavax/naming/Name;
invokeinterface javax.naming.directory.DirContext.getSchema:(Ljavax/naming/Name;)Ljavax/naming/directory/DirContext;
astore 1
start local 1 1: aload 1
2: new java.lang.StringBuilder
dup
ldc "AttributeDefinition/"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual com.sun.jndi.ldap.LdapAttribute.getID:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
3: invokeinterface javax.naming.directory.DirContext.lookup:(Ljava/lang/String;)Ljava/lang/Object;
checkcast javax.naming.directory.DirContext
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/ldap/LdapAttribute;
1 4 1 schema Ljavax/naming/directory/DirContext;
Exceptions:
throws javax.naming.NamingException
}
SourceFile: "LdapAttribute.java"