JavaQualifiedName implements QualifiedName { @Deprecated public static JavaQualifiedName ofClass(Class<?> clazz) { return QualifiedNameFactory.ofClass(clazz); }  @Override abstract JavaTypeQualifiedName getClassName(); @Deprecated boolean isLocalClass(); @Deprecated String getClassSimpleName(); @Deprecated boolean isUnnamedPackage(); @Deprecated String getOperation(); @Deprecated String[] getPackages(); @Deprecated String[] getClasses(); @Override final boolean equals(Object o); @Override final int hashCode(); @Override final String toString(); @Deprecated static JavaQualifiedName ofString(String name); @Deprecated static JavaQualifiedName ofClass(Class<?> clazz);  }
@Test public void testGetType() { JavaTypeQualifiedName qname = QualifiedNameFactory.ofClass(ASTAdditiveExpression.class); assertEquals(qname.getType(), ASTAdditiveExpression.class); }