*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 3 of the GNU Lesser General Public License
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of version 3 of the GNU Lesser General Public License
- private final ClassDescriptor parentClassDescriptior;
- private final List<ClassDescriptor> typeArguments = new ArrayList<ClassDescriptor>();
+ private final ClassDescriptor parentClassDescriptor;
+ private final List<ClassDescriptor> typeArguments = new ArrayList<>();
private String name;
private ClassDescriptor type;
private boolean isInherited;
public FieldDescriptor(final ClassDescriptor parent) {
private String name;
private ClassDescriptor type;
private boolean isInherited;
public FieldDescriptor(final ClassDescriptor parent) {
for (final Type type : fieldParameterizedGenericType.getActualTypeArguments())
if (type instanceof Class) {
final Class aClass = (Class) type;
for (final Type type : fieldParameterizedGenericType.getActualTypeArguments())
if (type instanceof Class) {
final Class aClass = (Class) type;
.getClassGraph().getOrCreateClassDescriptor(aClass);
genericTypeDescriptor.registerReference();
typeArguments.add(genericTypeDescriptor);
.getClassGraph().getOrCreateClassDescriptor(aClass);
genericTypeDescriptor.registerReference();
typeArguments.add(genericTypeDescriptor);
+ "\", color=\"" + classDescriptor.getColor()
+ "\", style=\"bold\"];\n");
+ "\", color=\"" + classDescriptor.getColor()
+ "\", style=\"bold\"];\n");
result.append(" <TR><TD colspan=\"2\" PORT=\"" + name);
result.append("\" ALIGN=\"left\"><FONT POINT-SIZE=\"11.0\">");
result.append(name + "</FONT></TD></TR>\n");
} else {
result.append(" <TR><td ALIGN=\"right\">");
result.append("<FONT POINT-SIZE=\"8.0\">");
result.append(" <TR><TD colspan=\"2\" PORT=\"" + name);
result.append("\" ALIGN=\"left\"><FONT POINT-SIZE=\"11.0\">");
result.append(name + "</FONT></TD></TR>\n");
} else {
result.append(" <TR><td ALIGN=\"right\">");
result.append("<FONT POINT-SIZE=\"8.0\">");
result.append("</td><TD PORT=\"" + name);
result.append("\" ALIGN=\"left\"><FONT POINT-SIZE=\"11.0\">");
result.append(name + "</FONT></TD></TR>\n");
result.append("</td><TD PORT=\"" + name);
result.append("\" ALIGN=\"left\"><FONT POINT-SIZE=\"11.0\">");
result.append(name + "</FONT></TD></TR>\n");