1 11 package org.eclipse.jdt.internal.core.hierarchy; 12 13 import org.eclipse.jdt.core.IType; 14 import org.eclipse.jdt.internal.compiler.env.IGenericType; 15 16 21 public class HierarchyType implements IGenericType { 22 23 public IType typeHandle; 24 public char[] name; 25 public int modifiers; 26 public char[] superclassName; 27 public char[][] superInterfaceNames; 28 29 public HierarchyType( 30 IType typeHandle, 31 char[] name, 32 int modifiers, 33 char[] superclassName, 34 char[][] superInterfaceNames) { 35 36 this.typeHandle = typeHandle; 37 this.name = name; 38 this.modifiers = modifiers; 39 this.superclassName = superclassName; 40 this.superInterfaceNames = superInterfaceNames; 41 } 42 45 public char[] getFileName() { 46 return this.typeHandle.getCompilationUnit().getElementName().toCharArray(); 47 } 48 49 53 public int getModifiers() { 54 return this.modifiers; 55 } 56 60 public boolean isBinaryType() { 61 return false; 62 } 63 } 64 | Popular Tags |