Java Code Examples for com.sun.tools.corba.se.idl.TypedefEntry#type()
The following examples show how to use
com.sun.tools.corba.se.idl.TypedefEntry#type() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: UnionGen.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
private int readBranch (int index, String indent, String name, String disName, TypedefEntry entry, PrintWriter stream) { SymtabEntry type = entry.type (); Util.writeInitializer (indent, '_' + name, "", entry, stream); if (!entry.arrayInfo ().isEmpty () || type instanceof SequenceEntry || type instanceof PrimitiveEntry || type instanceof StringEntry) { index = ((JavaGenerator)entry.generator ()).read (index, indent, '_' + name, entry, stream); } else { stream.println (indent + '_' + name + " = " + Util.helperName (type, true) + ".read (istream);"); } stream.print (indent + "value." + name + " ("); if( disName == "" ) stream.println("_" + name + ");"); else stream.println(disName + ", " + "_" + name + ");"); return index; }
Example 2
Source File: Holder.java From hottub with GNU General Public License v2.0 | 6 votes |
/** * Generate the _read method. **/ protected void writeRead () { stream.println (" public void _read (org.omg.CORBA.portable.InputStream i)"); stream.println (" {"); if (entry instanceof ValueBoxEntry) { TypedefEntry member = ((InterfaceState) ((ValueBoxEntry) entry).state ().elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof StringEntry) stream.println (" value = i.read_string ();"); else if (mType instanceof PrimitiveEntry) stream.println (" value = " + helperClass + ".read (i).value;"); else stream.println (" value = " + helperClass + ".read (i);"); } else stream.println (" value = " + helperClass + ".read (i);"); stream.println (" }"); stream.println (); }
Example 3
Source File: ValueBoxGen.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
protected void streamableRead (String entryName, SymtabEntry entry, PrintWriter stream) { Vector vMembers = ( (ValueBoxEntry) entry ).state (); TypedefEntry member = ((InterfaceState) vMembers.elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry || mType instanceof SequenceEntry || mType instanceof TypedefEntry || mType instanceof StringEntry || !member.arrayInfo ().isEmpty ()) { SymtabEntry mEntry = (SymtabEntry) ((InterfaceState) vMembers.elementAt (0)).entry; ((JavaGenerator)member.generator ()).read (0, " ", entryName + ".value", member, stream); } else if (mType instanceof ValueEntry || mType instanceof ValueBoxEntry) stream.println (" " + entryName + ".value = (" + Util.javaQualifiedName (mType) + ") ((org.omg.CORBA_2_3.portable.InputStream)istream).read_value (" + Util.helperName(mType, true) + ".get_instance ());"); // <d60929> // <d61056> else stream.println (" " + entryName + ".value = " + Util.helperName (mType, true) + ".read (istream);"); // <d61056> }
Example 4
Source File: Helper.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
/** * Initialize variables unique to this generator. **/ protected void init () { helperClass = entry.name () + "Helper"; if (entry instanceof ValueBoxEntry) { ValueBoxEntry v = (ValueBoxEntry) entry; TypedefEntry member = ((InterfaceState) v.state ().elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry) helperType = Util.javaName (entry); else helperType = Util.javaName (mType); } else helperType = Util.javaName (entry); }
Example 5
Source File: ValueBoxGen.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
public int write (int index, String indent, String name, SymtabEntry entry, PrintWriter stream) { Vector vMembers = ( (ValueEntry) entry ).state (); TypedefEntry member = ((InterfaceState) vMembers.elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry || !member.arrayInfo ().isEmpty ()) index = ((JavaGenerator)member.generator ()).write (index, indent, name + ".value", member, stream); else if (mType instanceof SequenceEntry || mType instanceof StringEntry || mType instanceof TypedefEntry || !member.arrayInfo ().isEmpty ()) index = ((JavaGenerator)member.generator ()).write (index, indent, name, member, stream); else if (mType instanceof ValueEntry || mType instanceof ValueBoxEntry) stream.println (indent + "((org.omg.CORBA_2_3.portable.OutputStream)ostream).write_value ((java.io.Serializable) value, " // <d60929> + Util.helperName (mType, true) // <d61056> + ".get_instance ());"); // <d61056> else stream.println (indent + Util.helperName (mType, true) + ".write (ostream, " + name + ");"); // <d61056> return index; }
Example 6
Source File: Helper.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
/** * Initialize variables unique to this generator. **/ protected void init () { helperClass = entry.name () + "Helper"; if (entry instanceof ValueBoxEntry) { ValueBoxEntry v = (ValueBoxEntry) entry; TypedefEntry member = ((InterfaceState) v.state ().elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry) helperType = Util.javaName (entry); else helperType = Util.javaName (mType); } else helperType = Util.javaName (entry); }
Example 7
Source File: ValueBoxGen.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
public int write (int index, String indent, String name, SymtabEntry entry, PrintWriter stream) { Vector vMembers = ( (ValueEntry) entry ).state (); TypedefEntry member = ((InterfaceState) vMembers.elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry || !member.arrayInfo ().isEmpty ()) index = ((JavaGenerator)member.generator ()).write (index, indent, name + ".value", member, stream); else if (mType instanceof SequenceEntry || mType instanceof StringEntry || mType instanceof TypedefEntry || !member.arrayInfo ().isEmpty ()) index = ((JavaGenerator)member.generator ()).write (index, indent, name, member, stream); else if (mType instanceof ValueEntry || mType instanceof ValueBoxEntry) stream.println (indent + "((org.omg.CORBA_2_3.portable.OutputStream)ostream).write_value ((java.io.Serializable) value, " // <d60929> + Util.helperName (mType, true) // <d61056> + ".get_instance ());"); // <d61056> else stream.println (indent + Util.helperName (mType, true) + ".write (ostream, " + name + ");"); // <d61056> return index; }
Example 8
Source File: ValueBoxGen24.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * <d62023> **/ public void helperRead (String entryName, SymtabEntry entry, PrintWriter stream) { stream.println (" if (!(istream instanceof org.omg.CORBA_2_3.portable.InputStream)) {"); stream.println (" throw new org.omg.CORBA.BAD_PARAM(); }"); stream.println (" return (" + entryName +") ((org.omg.CORBA_2_3.portable.InputStream) istream).read_value (_instance);"); stream.println (" }"); stream.println (); // done with "read", now do "read_value with real marshalling code. stream.println (" public java.io.Serializable read_value (org.omg.CORBA.portable.InputStream istream)"); // <d60929> stream.println (" {"); String indent = " "; Vector vMembers = ((ValueBoxEntry) entry).state (); TypedefEntry member = ((InterfaceState) vMembers.elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry || mType instanceof SequenceEntry || mType instanceof TypedefEntry || mType instanceof StringEntry || !member.arrayInfo ().isEmpty ()) { stream.println (indent + Util.javaName (mType) + " tmp;"); ((JavaGenerator)member.generator ()).read (0, indent, "tmp", member, stream); } else stream.println (indent + Util.javaName (mType) + " tmp = " + Util.helperName ( mType, true ) + ".read (istream);"); if (mType instanceof PrimitiveEntry) stream.println (indent + "return new " + entryName + " (tmp);"); else stream.println (indent + "return (java.io.Serializable) tmp;"); }
Example 9
Source File: Util.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * **/ public static String holderName (SymtabEntry entry) { String name; if (entry instanceof PrimitiveEntry) if (entry.name ().equals ("any")) name = "org.omg.CORBA.AnyHolder"; else if (entry.name ().equals ("TypeCode")) name = "org.omg.CORBA.TypeCodeHolder"; else if (entry.name ().equals ("Principal")) // <d61961> name = "org.omg.CORBA.PrincipalHolder"; else name = "org.omg.CORBA." + capitalize (javaQualifiedName (entry)) + "Holder"; else if (entry instanceof TypedefEntry) { TypedefEntry td = (TypedefEntry)entry; if (!td.arrayInfo ().isEmpty () || td.type () instanceof SequenceEntry) name = javaQualifiedName (entry) + "Holder"; else name = holderName (entry.type ()); } else if (entry instanceof StringEntry) name = "org.omg.CORBA.StringHolder"; else if (entry instanceof ValueEntry) { if (entry.name ().equals ("ValueBase")) name = "org.omg.CORBA.ValueBaseHolder"; // <d59421>, <d60929> else name = javaName (entry) + "Holder"; } else if (entry instanceof NativeEntry) { // do not attach holder to the translation for Native Entries, e.g. // for Cookie it should be CookieHolder instead of java.lang.ObjectHolder // returns the complete name for the package, etc. name = javaQualifiedName(entry) + "Holder"; } else name = javaName (entry) + "Holder"; return name; }
Example 10
Source File: TypedefGen.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * **/ public void generate (Hashtable symbolTable, TypedefEntry t, PrintWriter stream) { this.symbolTable = symbolTable; this.t = t; if (t.arrayInfo ().size () > 0 || t.type () instanceof SequenceEntry) generateHolder (); generateHelper (); }
Example 11
Source File: TypedefGen.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * **/ public void generate (Hashtable symbolTable, TypedefEntry t, PrintWriter stream) { this.symbolTable = symbolTable; this.t = t; if (t.arrayInfo ().size () > 0 || t.type () instanceof SequenceEntry) generateHolder (); generateHelper (); }
Example 12
Source File: ValueGen24.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * <d62023> Call super._read() **/ public int read (int index, String indent, String name, SymtabEntry entry, PrintWriter stream) { // First do the state members from concrete parent hierarchy Vector vParents = ((ValueEntry) entry).derivedFrom (); if (vParents != null && vParents.size() != 0) { ValueEntry parent = (ValueEntry) vParents.elementAt (0); if (parent == null) return index; // call super._read if non-abstract value parent if ((!parent.isAbstract ()) && (! Util.javaQualifiedName(parent).equals ("java.io.Serializable"))) // <d60929> stream.println(indent + "super._read (istream);"); } Vector vMembers = ((ValueEntry) entry).state (); int noOfMembers = vMembers == null ? 0 : vMembers.size (); for (int k = 0; k < noOfMembers; k++) { TypedefEntry member = (TypedefEntry)((InterfaceState)vMembers.elementAt (k)).entry; String memberName = member.name (); SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry || mType instanceof TypedefEntry || mType instanceof SequenceEntry || mType instanceof StringEntry || !member.arrayInfo ().isEmpty ()) index = ((JavaGenerator)member.generator ()).read (index, indent, name + '.' + memberName, member, stream); else stream.println (indent + name + '.' + memberName + " = " + Util.helperName (mType, true) + ".read (istream);"); // <d61056> } return index; }
Example 13
Source File: ValueGen24.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * <d62023> Call super._read() **/ public int read (int index, String indent, String name, SymtabEntry entry, PrintWriter stream) { // First do the state members from concrete parent hierarchy Vector vParents = ((ValueEntry) entry).derivedFrom (); if (vParents != null && vParents.size() != 0) { ValueEntry parent = (ValueEntry) vParents.elementAt (0); if (parent == null) return index; // call super._read if non-abstract value parent if ((!parent.isAbstract ()) && (! Util.javaQualifiedName(parent).equals ("java.io.Serializable"))) // <d60929> stream.println(indent + "super._read (istream);"); } Vector vMembers = ((ValueEntry) entry).state (); int noOfMembers = vMembers == null ? 0 : vMembers.size (); for (int k = 0; k < noOfMembers; k++) { TypedefEntry member = (TypedefEntry)((InterfaceState)vMembers.elementAt (k)).entry; String memberName = member.name (); SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry || mType instanceof TypedefEntry || mType instanceof SequenceEntry || mType instanceof StringEntry || !member.arrayInfo ().isEmpty ()) index = ((JavaGenerator)member.generator ()).read (index, indent, name + '.' + memberName, member, stream); else stream.println (indent + name + '.' + memberName + " = " + Util.helperName (mType, true) + ".read (istream);"); // <d61056> } return index; }
Example 14
Source File: Util.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
/** * Given a SymtabEntry, return the string which should be used * for this entry. Enums are converted to ints, typedefs and * sequences are converted to their info types. javaQualifiedName * does not do any of these conversions. **/ public static String javaName (SymtabEntry entry) { // First get the real name of this type String name = ""; if (entry instanceof TypedefEntry || entry instanceof SequenceEntry) try { name = sansArrayInfo ((String)entry.dynamicVariable (Compile.typedefInfo)); } catch (NoSuchFieldException e) { name = entry.name (); } else if (entry instanceof PrimitiveEntry) name = javaPrimName (entry.name ()); else if (entry instanceof StringEntry) name = "String"; else if (entry instanceof NativeEntry) name = javaNativeName (entry.name()); else if (entry instanceof ValueEntry && entry.name ().equals ("ValueBase")) name = "java.io.Serializable"; else if (entry instanceof ValueBoxEntry) { ValueBoxEntry v = (ValueBoxEntry) entry; TypedefEntry member = ((InterfaceState) v.state ().elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry) { name = containerFullName (entry.container ()); if (!name.equals ("")) name = name + '.'; name = name + entry.name (); } else name = javaName (mType); } else { name = containerFullName (entry.container ()); if (name.equals ("")) name = entry.name (); else name = name + '.' + entry.name (); } // Make it a fully package-qualified name return name.replace ('/', '.'); }
Example 15
Source File: Util.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
/** * Given a SymtabEntry, return the string which should be used * for this entry. Enums are converted to ints, typedefs and * sequences are converted to their info types. javaQualifiedName * does not do any of these conversions. **/ public static String javaName (SymtabEntry entry) { // First get the real name of this type String name = ""; if (entry instanceof TypedefEntry || entry instanceof SequenceEntry) try { name = sansArrayInfo ((String)entry.dynamicVariable (Compile.typedefInfo)); } catch (NoSuchFieldException e) { name = entry.name (); } else if (entry instanceof PrimitiveEntry) name = javaPrimName (entry.name ()); else if (entry instanceof StringEntry) name = "String"; else if (entry instanceof NativeEntry) name = javaNativeName (entry.name()); else if (entry instanceof ValueEntry && entry.name ().equals ("ValueBase")) name = "java.io.Serializable"; else if (entry instanceof ValueBoxEntry) { ValueBoxEntry v = (ValueBoxEntry) entry; TypedefEntry member = ((InterfaceState) v.state ().elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry) { name = containerFullName (entry.container ()); if (!name.equals ("")) name = name + '.'; name = name + entry.name (); } else name = javaName (mType); } else { name = containerFullName (entry.container ()); if (name.equals ("")) name = entry.name (); else name = name + '.' + entry.name (); } // Make it a fully package-qualified name return name.replace ('/', '.'); }
Example 16
Source File: ValueGen.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 4 votes |
public int read (int index, String indent, String name, SymtabEntry entry, PrintWriter stream) { // First do the state members from concrete parent hierarchy Vector vParents = ((ValueEntry) entry).derivedFrom (); if (vParents != null && vParents.size() != 0) { ValueEntry parent = (ValueEntry) vParents.elementAt (0); if (parent == null) return index; // Per Simon, 4/6/99 - call parent read. <d60929> if (! Util.javaQualifiedName(parent).equals ("java.io.Serializable")) // <d60929> stream.println(indent + Util.helperName (parent, true) + ".read (istream, value);"); // <d60929> // <d61056> } Vector vMembers = ((ValueEntry) entry).state (); int noOfMembers = vMembers == null ? 0 : vMembers.size (); for (int k = 0; k < noOfMembers; k++) { TypedefEntry member = (TypedefEntry)((InterfaceState)vMembers.elementAt (k)).entry; String memberName = member.name (); SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry || mType instanceof TypedefEntry || mType instanceof SequenceEntry || mType instanceof StringEntry || !member.arrayInfo ().isEmpty ()) index = ((JavaGenerator)member.generator ()).read (index, indent, name + '.' + memberName, member, stream); else if (mType instanceof ValueEntry) { String returnType = Util.javaQualifiedName (mType); if (mType instanceof ValueBoxEntry) // <f46082.51> Remove -stateful. //returnType = Util.javaStatefulName (mType); returnType = Util.javaName (mType); stream.println (" " + name + '.' + memberName + " = (" + returnType + ") ((org.omg.CORBA_2_3.portable.InputStream)istream).read_value (" + Util.helperName (mType, true) + // <d61056> ".get_instance ());"); // <d61056> } else stream.println (indent + name + '.' + memberName + " = " + Util.helperName (mType, true) + ".read (istream);"); // <d61056> } return index; }
Example 17
Source File: ValueGen.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
public int read (int index, String indent, String name, SymtabEntry entry, PrintWriter stream) { // First do the state members from concrete parent hierarchy Vector vParents = ((ValueEntry) entry).derivedFrom (); if (vParents != null && vParents.size() != 0) { ValueEntry parent = (ValueEntry) vParents.elementAt (0); if (parent == null) return index; // Per Simon, 4/6/99 - call parent read. <d60929> if (! Util.javaQualifiedName(parent).equals ("java.io.Serializable")) // <d60929> stream.println(indent + Util.helperName (parent, true) + ".read (istream, value);"); // <d60929> // <d61056> } Vector vMembers = ((ValueEntry) entry).state (); int noOfMembers = vMembers == null ? 0 : vMembers.size (); for (int k = 0; k < noOfMembers; k++) { TypedefEntry member = (TypedefEntry)((InterfaceState)vMembers.elementAt (k)).entry; String memberName = member.name (); SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry || mType instanceof TypedefEntry || mType instanceof SequenceEntry || mType instanceof StringEntry || !member.arrayInfo ().isEmpty ()) index = ((JavaGenerator)member.generator ()).read (index, indent, name + '.' + memberName, member, stream); else if (mType instanceof ValueEntry) { String returnType = Util.javaQualifiedName (mType); if (mType instanceof ValueBoxEntry) // <f46082.51> Remove -stateful. //returnType = Util.javaStatefulName (mType); returnType = Util.javaName (mType); stream.println (" " + name + '.' + memberName + " = (" + returnType + ") ((org.omg.CORBA_2_3.portable.InputStream)istream).read_value (" + Util.helperName (mType, true) + // <d61056> ".get_instance ());"); // <d61056> } else stream.println (indent + name + '.' + memberName + " = " + Util.helperName (mType, true) + ".read (istream);"); // <d61056> } return index; }
Example 18
Source File: ValueGen.java From jdk8u60 with GNU General Public License v2.0 | 4 votes |
public int read (int index, String indent, String name, SymtabEntry entry, PrintWriter stream) { // First do the state members from concrete parent hierarchy Vector vParents = ((ValueEntry) entry).derivedFrom (); if (vParents != null && vParents.size() != 0) { ValueEntry parent = (ValueEntry) vParents.elementAt (0); if (parent == null) return index; // Per Simon, 4/6/99 - call parent read. <d60929> if (! Util.javaQualifiedName(parent).equals ("java.io.Serializable")) // <d60929> stream.println(indent + Util.helperName (parent, true) + ".read (istream, value);"); // <d60929> // <d61056> } Vector vMembers = ((ValueEntry) entry).state (); int noOfMembers = vMembers == null ? 0 : vMembers.size (); for (int k = 0; k < noOfMembers; k++) { TypedefEntry member = (TypedefEntry)((InterfaceState)vMembers.elementAt (k)).entry; String memberName = member.name (); SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry || mType instanceof TypedefEntry || mType instanceof SequenceEntry || mType instanceof StringEntry || !member.arrayInfo ().isEmpty ()) index = ((JavaGenerator)member.generator ()).read (index, indent, name + '.' + memberName, member, stream); else if (mType instanceof ValueEntry) { String returnType = Util.javaQualifiedName (mType); if (mType instanceof ValueBoxEntry) // <f46082.51> Remove -stateful. //returnType = Util.javaStatefulName (mType); returnType = Util.javaName (mType); stream.println (" " + name + '.' + memberName + " = (" + returnType + ") ((org.omg.CORBA_2_3.portable.InputStream)istream).read_value (" + Util.helperName (mType, true) + // <d61056> ".get_instance ());"); // <d61056> } else stream.println (indent + name + '.' + memberName + " = " + Util.helperName (mType, true) + ".read (istream);"); // <d61056> } return index; }
Example 19
Source File: Util.java From hottub with GNU General Public License v2.0 | 4 votes |
/** * Given a SymtabEntry, return the string which should be used * for this entry. Enums are converted to ints, typedefs and * sequences are converted to their info types. javaQualifiedName * does not do any of these conversions. **/ public static String javaName (SymtabEntry entry) { // First get the real name of this type String name = ""; if (entry instanceof TypedefEntry || entry instanceof SequenceEntry) try { name = sansArrayInfo ((String)entry.dynamicVariable (Compile.typedefInfo)); } catch (NoSuchFieldException e) { name = entry.name (); } else if (entry instanceof PrimitiveEntry) name = javaPrimName (entry.name ()); else if (entry instanceof StringEntry) name = "String"; else if (entry instanceof NativeEntry) name = javaNativeName (entry.name()); else if (entry instanceof ValueEntry && entry.name ().equals ("ValueBase")) name = "java.io.Serializable"; else if (entry instanceof ValueBoxEntry) { ValueBoxEntry v = (ValueBoxEntry) entry; TypedefEntry member = ((InterfaceState) v.state ().elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry) { name = containerFullName (entry.container ()); if (!name.equals ("")) name = name + '.'; name = name + entry.name (); } else name = javaName (mType); } else { name = containerFullName (entry.container ()); if (name.equals ("")) name = entry.name (); else name = name + '.' + entry.name (); } // Make it a fully package-qualified name return name.replace ('/', '.'); }
Example 20
Source File: Util.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
/** * Given a SymtabEntry, return the string which should be used * for this entry. Enums are converted to ints, typedefs and * sequences are converted to their info types. javaQualifiedName * does not do any of these conversions. **/ public static String javaName (SymtabEntry entry) { // First get the real name of this type String name = ""; if (entry instanceof TypedefEntry || entry instanceof SequenceEntry) try { name = sansArrayInfo ((String)entry.dynamicVariable (Compile.typedefInfo)); } catch (NoSuchFieldException e) { name = entry.name (); } else if (entry instanceof PrimitiveEntry) name = javaPrimName (entry.name ()); else if (entry instanceof StringEntry) name = "String"; else if (entry instanceof NativeEntry) name = javaNativeName (entry.name()); else if (entry instanceof ValueEntry && entry.name ().equals ("ValueBase")) name = "java.io.Serializable"; else if (entry instanceof ValueBoxEntry) { ValueBoxEntry v = (ValueBoxEntry) entry; TypedefEntry member = ((InterfaceState) v.state ().elementAt (0)).entry; SymtabEntry mType = member.type (); if (mType instanceof PrimitiveEntry) { name = containerFullName (entry.container ()); if (!name.equals ("")) name = name + '.'; name = name + entry.name (); } else name = javaName (mType); } else { name = containerFullName (entry.container ()); if (name.equals ("")) name = entry.name (); else name = name + '.' + entry.name (); } // Make it a fully package-qualified name return name.replace ('/', '.'); }