Java 类com.intellij.psi.impl.light.LightIdentifier 实例源码

项目:manifold-ij    文件:ManLightParameterImpl.java   
public ManLightParameterImpl( String name, PsiType type, PsiElement declarationScope, Language language )
{
  super( name, type, declarationScope, language );
  PsiManager manager = declarationScope.getManager();
  myNameIdentifier = new LightIdentifier( manager, name );
  ReflectionUtil.setFinalFieldPerReflection( LightVariableBuilder.class, this, LightModifierList.class,
                                             new ManLightModifierListImpl( manager, language ) );
}
项目:holdr    文件:HoldrLightParameter.java   
public HoldrLightParameter(@NotNull String name, @NotNull PsiType type, PsiElement declarationScope, Language language) {
    super(name, type, declarationScope, language);
    myName = name;
    PsiManager manager = declarationScope.getManager();
    myNameIdentifier = new LightIdentifier(manager, name);
    myModifierList = new HoldrLightModifierList(manager);
}
项目:consulo-java    文件:PsiElementFactoryImpl.java   
@NotNull
@Override
public PsiIdentifier createIdentifier(@NotNull final String text) throws IncorrectOperationException
{
    PsiUtil.checkIsIdentifier(myManager, text);
    return new LightIdentifier(myManager, text);
}
项目:manifold-ij    文件:ManLightFieldBuilderImpl.java   
public ManLightFieldBuilderImpl( PsiManager manager, String name, PsiType type )
{
  super( manager, name, type );
  _nameIdentifier = new LightIdentifier( manager, name );
}
项目:manifold-ij    文件:ManLightMethodBuilderImpl.java   
public ManLightMethodBuilderImpl( PsiManager manager, String name )
{
  super( manager, JavaLanguage.INSTANCE, name,
         new LightParameterListBuilder( manager, JavaLanguage.INSTANCE ), new ManLightModifierListImpl( manager, JavaLanguage.INSTANCE ) );
  _nameIdentifier = new LightIdentifier( manager, name );
}
项目:intellij-ce-playground    文件:AndroidLightField.java   
@NotNull
@Override
public PsiIdentifier getNameIdentifier() {
  return new LightIdentifier(getManager(), myName);
}
项目:intellij-ce-playground    文件:GrLightMethodBuilder.java   
@NotNull
@Override
public PsiElement getNameIdentifierGroovy() {
  return new LightIdentifier(getManager(), getName());
}
项目:sqlitemagic    文件:SqliteMagicLightIdentifier.java   
@Override
public PsiElement copy() {
  return new LightIdentifier(getManager(), getText());
}
项目:holdr    文件:HoldrLightField.java   
@NotNull
@Override
public PsiIdentifier getNameIdentifier() {
    return new LightIdentifier(getManager(), myName);
}
项目:holdr    文件:HoldrLightMethodBuilder.java   
@Override
public PsiIdentifier getNameIdentifier() {
    return new LightIdentifier(myManager, getName());
}
项目:tools-idea    文件:GrLightMethodBuilder.java   
@NotNull
@Override
public PsiElement getNameIdentifierGroovy() {
  return new LightIdentifier(getManager(), getName());
}
项目:lombok-intellij-plugin    文件:LombokLightIdentifier.java   
@Override
public PsiElement copy() {
  return new LightIdentifier(getManager(), getText());
}