private String getTypeContainerName(TypeNameMatch info) { String result= info.getTypeContainerName(); if (result.length() > 0) return result; return JavaUIMessages.FilteredTypesSelectionDialog_default_package; }
private String getTypeContainerName(TypeNameMatch info) { String result= info.getTypeContainerName(); if (result.length() > 0) return result; return JavaUIMessages.TypeInfoViewer_default_package; }
public void addInfo(TypeNameMatch info) { for (int i= this.foundInfos.size() - 1; i >= 0; i--) { TypeNameMatch curr= (TypeNameMatch) this.foundInfos.get(i); if (curr.getTypeContainerName().equals(info.getTypeContainerName())) { return; // not added. already contains type with same name } } foundInfos.add(info); } }
public void addInfo(TypeNameMatch info) { for (int i= this.foundInfos.size() - 1; i >= 0; i--) { TypeNameMatch curr= this.foundInfos.get(i); if (curr.getTypeContainerName().equals(info.getTypeContainerName())) { return; // not added. already contains type with same name } } foundInfos.add(info); } }
private boolean matchesPackage(TypeNameMatch type) { if (fPackageMatcher == null) return true; return fPackageMatcher.matches(type.getTypeContainerName()); }
public String getQualificationText(TypeNameMatch type) { StringBuilder result= new StringBuilder(); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(containerName); result.append(JavaElementLabels.CONCAT_STRING); } result.append(getContainerName(type)); return result.toString(); }
private boolean matchesPackage(TypeNameMatch type) { if (fPackageMatcher == null) return true; return fPackageMatcher.matches(type.getTypeContainerName()); }
public String getQualifiedText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); result.append(JavaElementLabels.CONCAT_STRING); if (containerName.length() > 0) { result.append(containerName); } else { result.append(JavaUIMessages.TypeInfoViewer_default_package); } return result.toString(); } public String getFullyQualifiedText(TypeNameMatch type) {
public String getQualifiedText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); result.append(JavaElementLabels.CONCAT_STRING); if (containerName.length() > 0) { result.append(containerName); } else { result.append(JavaUIMessages.FilteredTypesSelectionDialog_default_package); } return result.toString(); }
public String getQualifiedText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); result.append(JavaElementLabels.CONCAT_STRING); if (containerName.length() > 0) { result.append(containerName); } else { result.append(JavaUIMessages.FilteredTypesSelectionDialog_default_package); } return result.toString(); }
public String getQualificationText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(containerName); result.append(JavaElementLabels.CONCAT_STRING); } result.append(getContainerName(type)); return result.toString(); }
public String getQualificationText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(containerName); result.append(JavaElementLabels.CONCAT_STRING); } result.append(getContainerName(type)); return result.toString(); }
public String getQualificationText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(containerName); result.append(JavaElementLabels.CONCAT_STRING); } result.append(getContainerName(type)); return result.toString(); }
public String getQualificationText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(containerName); result.append(JavaElementLabels.CONCAT_STRING); } result.append(getContainerName(type)); return result.toString(); }
public String getQualificationText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(containerName); result.append(JavaElementLabels.CONCAT_STRING); } result.append(getContainerName(type)); return result.toString(); }
public String getQualificationText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(containerName); result.append(JavaElementLabels.CONCAT_STRING); } result.append(getContainerName(type)); return result.toString(); }
public String getFullyQualifiedText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(JavaElementLabels.CONCAT_STRING); result.append(containerName); } result.append(JavaElementLabels.CONCAT_STRING); result.append(getContainerName(type)); return result.toString(); }
public String getFullyQualifiedText(TypeNameMatch type) { StringBuilder result= new StringBuilder(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(JavaElementLabels.CONCAT_STRING); result.append(containerName); } result.append(JavaElementLabels.CONCAT_STRING); result.append(getContainerName(type)); return result.toString(); }
public String getFullyQualifiedText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(JavaElementLabels.CONCAT_STRING); result.append(containerName); } result.append(JavaElementLabels.CONCAT_STRING); result.append(getContainerName(type)); return result.toString(); }
public String getFullyQualifiedText(TypeNameMatch type) { StringBuffer result= new StringBuffer(); result.append(type.getSimpleTypeName()); String containerName= type.getTypeContainerName(); if (containerName.length() > 0) { result.append(JavaElementLabels.CONCAT_STRING); result.append(containerName); } result.append(JavaElementLabels.CONCAT_STRING); result.append(getContainerName(type)); return result.toString(); } public String getText(TypeNameMatch last, TypeNameMatch current, TypeNameMatch next) {