Java 类com.intellij.psi.impl.compiled.SignatureParsing 实例源码

项目:intellij-ce-playground    文件:SignatureParsingTest.java   
@Test
public void testVarianceAmbiguity() throws ClsFormatException {
  assertEquals("Psi<?,P>", SignatureParsing.parseTypeString(new StringCharacterIterator("LPsi<*TP>;")));
  assertEquals("Psi<? extends P>", SignatureParsing.parseTypeString(new StringCharacterIterator("LPsi<+TP>;")));
  assertEquals("Psi<? super P>", SignatureParsing.parseTypeString(new StringCharacterIterator("LPsi<-TP>;")));
}
项目:tools-idea    文件:SignatureParsingTest.java   
public void testVarianceAmbiguity() throws Exception {
  assertEquals("Psi<?,P>", SignatureParsing.parseTypeString(new StringCharacterIterator("LPsi<*TP>;")));
  assertEquals("Psi<? extends P>", SignatureParsing.parseTypeString(new StringCharacterIterator("LPsi<+TP>;")));
  assertEquals("Psi<? super P>", SignatureParsing.parseTypeString(new StringCharacterIterator("LPsi<-TP>;")));
}
项目:consulo-java    文件:SignatureParsingTest.java   
public void testVarianceAmbiguity() throws Exception {
  assertEquals("Psi<?,P>", SignatureParsing.parseTypeString(new StringCharacterIterator("LPsi<*TP>;"), s -> s));
  assertEquals("Psi<? extends P>", SignatureParsing.parseTypeString(new StringCharacterIterator("LPsi<+TP>;"), s -> s));
  assertEquals("Psi<? super P>", SignatureParsing.parseTypeString(new StringCharacterIterator("LPsi<-TP>;"), s -> s));
}