本文整理汇总了Java中com.intellij.psi.impl.light.LightIdentifier类的典型用法代码示例。如果您正苦于以下问题:Java LightIdentifier类的具体用法?Java LightIdentifier怎么用?Java LightIdentifier使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LightIdentifier类属于com.intellij.psi.impl.light包,在下文中一共展示了LightIdentifier类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: ManLightParameterImpl
import com.intellij.psi.impl.light.LightIdentifier; //导入依赖的package包/类
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 ) );
}
示例2: HoldrLightParameter
import com.intellij.psi.impl.light.LightIdentifier; //导入依赖的package包/类
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);
}
示例3: createIdentifier
import com.intellij.psi.impl.light.LightIdentifier; //导入依赖的package包/类
@NotNull
@Override
public PsiIdentifier createIdentifier(@NotNull final String text) throws IncorrectOperationException
{
PsiUtil.checkIsIdentifier(myManager, text);
return new LightIdentifier(myManager, text);
}
示例4: ManLightFieldBuilderImpl
import com.intellij.psi.impl.light.LightIdentifier; //导入依赖的package包/类
public ManLightFieldBuilderImpl( PsiManager manager, String name, PsiType type )
{
super( manager, name, type );
_nameIdentifier = new LightIdentifier( manager, name );
}
示例5: ManLightMethodBuilderImpl
import com.intellij.psi.impl.light.LightIdentifier; //导入依赖的package包/类
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 );
}
示例6: getNameIdentifier
import com.intellij.psi.impl.light.LightIdentifier; //导入依赖的package包/类
@NotNull
@Override
public PsiIdentifier getNameIdentifier() {
return new LightIdentifier(getManager(), myName);
}
示例7: getNameIdentifierGroovy
import com.intellij.psi.impl.light.LightIdentifier; //导入依赖的package包/类
@NotNull
@Override
public PsiElement getNameIdentifierGroovy() {
return new LightIdentifier(getManager(), getName());
}
示例8: copy
import com.intellij.psi.impl.light.LightIdentifier; //导入依赖的package包/类
@Override
public PsiElement copy() {
return new LightIdentifier(getManager(), getText());
}
示例9: getNameIdentifier
import com.intellij.psi.impl.light.LightIdentifier; //导入依赖的package包/类
@NotNull
@Override
public PsiIdentifier getNameIdentifier() {
return new LightIdentifier(getManager(), myName);
}
示例10: getNameIdentifier
import com.intellij.psi.impl.light.LightIdentifier; //导入依赖的package包/类
@Override
public PsiIdentifier getNameIdentifier() {
return new LightIdentifier(myManager, getName());
}