예제 #1
0
 @NotNull
 @Override
 public String getSeparator() {
   String fullName = myValueDescriptor.calcValueName();
   String name = myValueDescriptor.getName();
   if (!StringUtil.isEmpty(fullName) && !name.equals(fullName) && fullName.startsWith(name)) {
     return fullName.substring(name.length()) + " " + DEFAULT_SEPARATOR;
   }
   return DEFAULT_SEPARATOR;
 }
예제 #2
0
 protected JavaValue(
     JavaValue parent,
     @NotNull ValueDescriptorImpl valueDescriptor,
     @NotNull EvaluationContextImpl evaluationContext,
     NodeManagerImpl nodeManager,
     boolean contextSet) {
   super(valueDescriptor.getName());
   myParent = parent;
   myValueDescriptor = valueDescriptor;
   myEvaluationContext = evaluationContext;
   myNodeManager = nodeManager;
   myContextSet = contextSet;
 }