JavaClassName hack entfernt

This commit is contained in:
Enrico Schrödter 2015-10-23 16:30:07 +02:00
parent 47361ca22c
commit 0dcb36f49e

View File

@ -19,11 +19,6 @@ public class JavaClassName {
public JavaClassName(String name){ public JavaClassName(String name){
if(name == null)throw new NullPointerException(); if(name == null)throw new NullPointerException();
//TODO bytecode hack, muss unbedingt anders gelöst werden
if(name.equals("Object")){
name = "java.lang.Object";
}
String[] names = name.split("[.]"); String[] names = name.split("[.]");
boolean match = true; boolean match = true;
if(names.length == 1){ if(names.length == 1){