Ejemplo n.º 1
0
 @Override
 public PsiElement setName(@NotNull String name) throws IncorrectOperationException {
   GLSLIdentifier identifier = getNameIdentifier();
   if (identifier != null) {
     return identifier.setName(name);
   } else {
     throw new IncorrectOperationException("Declarator with no name!");
   }
 }