public static PsiTypeParameterListStub parseTypeParametersDeclaration(CharacterIterator iterator, StubElement parentStub) throws ClsFormatException { PsiTypeParameterListStub list = new PsiTypeParameterListStubImpl(parentStub); if (iterator.current() == '<') { iterator.next(); while (iterator.current() != '>') { parseTypeParameter(iterator, list); } iterator.next(); } return list; }
public static PsiTypeParameterListStub parseTypeParametersDeclaration(CharacterIterator signatureIterator, StubElement parentStub) throws ClsFormatException { PsiTypeParameterListStub list = new PsiTypeParameterListStubImpl(parentStub); if (signatureIterator.current() == '<') { signatureIterator.next(); while (signatureIterator.current() != '>') { parseTypeParameter(signatureIterator, list); } signatureIterator.next(); } return list; }
@Override public PsiTypeParameterListStub createStub(final LighterAST tree, final LighterASTNode node, final StubElement parentStub) { return new PsiTypeParameterListStubImpl(parentStub); }
@NotNull @Override public PsiTypeParameterListStub deserialize(@NotNull final StubInputStream dataStream, final StubElement parentStub) throws IOException { return new PsiTypeParameterListStubImpl(parentStub); }