List of usage examples for org.eclipse.jdt.internal.core.util Util getSignature
public static String getSignature(Type type)
From source file:org.eclipse.objectteams.otdt.ui.tests.dom.converter.AnchoredTypeTest.java
License:Open Source License
public void testSignature() { _testObj = _argumentDecl.getType();//ww w .ja va 2 s.c o m String sig = Util.getSignature(_testObj); assertEquals("Argument type has wrong name ", "QMyRole<@team1>;", sig); }
From source file:org.eclipse.objectteams.otdt.ui.tests.dom.converter.AnchoredTypeTest.java
License:Open Source License
public void testAllocation() { ClassInstanceCreation creation = (ClassInstanceCreation) _localDecl.getInitializer(); String sig = Util.getSignature(creation.getType()); assertEquals("Argument type has wrong name ", "QMyRole<@team1>;", sig); }
From source file:org.eclipse.objectteams.otdt.ui.tests.dom.converter.LiftingTypeTest.java
License:Open Source License
public void testSignature() { _testObj = (LiftingType) _variableDecl.getType(); String sig = Util.getSignature(_testObj); assertEquals("Base type has wrong name ", "QMyClass;", sig); }