buggy_function
stringlengths
1
391k
fixed_function
stringlengths
0
392k
public Object getValueAt(int row, int column) { HeaderItem item = rows.get(row); return item; }
public Object getValueAt(int row, int column) { HeaderItem item = rows.get(row); return item.get(columns[column]); }
public boolean checkAndReportBracketAnomalies(ProblemReporter problemReporter) { scanner.wasAcr = false; boolean anomaliesDetected = false; try { char[] source = scanner.source; int[] leftCount = {0, 0, 0}; int[] rightCount = {0, 0, 0}; int[] depths = {0, 0, 0}; int[][] leftPositions = new int[][] {new i...
public boolean checkAndReportBracketAnomalies(ProblemReporter problemReporter) { scanner.wasAcr = false; boolean anomaliesDetected = false; try { char[] source = scanner.source; int[] leftCount = {0, 0, 0}; int[] rightCount = {0, 0, 0}; int[] depths = {0, 0, 0}; int[][] leftPositions = new int[][] {new i...
public TypeDeclaration convert(org.eclipse.jdt.internal.compiler.ast.ASTNode[] nodes) { final TypeDeclaration typeDecl = new TypeDeclaration(this.ast); typeDecl.setInterface(false); int nodesLength = nodes.length; for (int i = 0; i < nodesLength; i++) { org.eclipse.jdt.internal.compiler.ast.ASTNode node = n...
public TypeDeclaration convert(org.eclipse.jdt.internal.compiler.ast.ASTNode[] nodes) { final TypeDeclaration typeDecl = new TypeDeclaration(this.ast); typeDecl.setInterface(false); int nodesLength = nodes == null ? 0 : nodes.length; for (int i = 0; i < nodesLength; i++) { org.eclipse.jdt.internal.compiler....
public DeclarationOfReferencedMethodsPattern(IJavaElement enclosingElement) { super(false, true, null, null, null, null, null, null, null, false, null, R_PATTERN_MATCH); this.enclosingElement = enclosingElement; this.knownMethods = new SimpleSet(); ((InternalSearchPattern)this).mustResolve = true; }
public DeclarationOfReferencedMethodsPattern(IJavaElement enclosingElement) { super(false, true, null, null, null, null, null, null, null, null, R_PATTERN_MATCH); this.enclosingElement = enclosingElement; this.knownMethods = new SimpleSet(); ((InternalSearchPattern)this).mustResolve = true; }
public boolean visit(SwitchStatement switchStatement, BlockScope scope) { this.scribe.printNextToken(TerminalTokens.TokenNameswitch); this.scribe.printNextToken(TerminalTokens.TokenNameLPAREN, this.preferences.insert_space_before_switch_condition); if (this.preferences.insert_space_in_switch_condition) { t...
public boolean visit(SwitchStatement switchStatement, BlockScope scope) { this.scribe.printNextToken(TerminalTokens.TokenNameswitch); this.scribe.printNextToken(TerminalTokens.TokenNameLPAREN, this.preferences.insert_space_before_switch_condition); if (this.preferences.insert_space_in_switch_condition) { t...
* N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ WhileStatement(AST ast) { super(ast); } /* (omit javadoc for this method) * Method declared on ASTNode. */ final List internalStructuralPropertiesForType(int apiLevel) { return propertyDescripto...
* N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ WhileStatement(AST ast) { super(ast); } /* (omit javadoc for this method) * Method declared on ASTNode. */ final List internalStructuralPropertiesForType(int apiLevel) { return propertyDescripto...
public void resolve(BlockScope scope) { this.exceptionType = this.exception.resolveType(scope); if (this.exceptionType != null && this.exceptionType.isValidBinding()) { if (this.exceptionType == TypeBinding.NULL) { if (scope.compilerOptions().complianceLevel <= ClassFileConstants.JDK1_3){ // if compliant wit...
public void resolve(BlockScope scope) { this.exceptionType = this.exception.resolveType(scope); if (this.exceptionType != null && this.exceptionType.isValidBinding()) { if (this.exceptionType == TypeBinding.NULL) { if (scope.compilerOptions().complianceLevel <= ClassFileConstants.JDK1_3){ // if compliant wit...
public String stringValue() { //spec 15.17.11 String s = Util.valueOf(value).toString(); if (s == null) return "null"; //$NON-NLS-1$ else return s; }
public String stringValue() { //spec 15.17.11 String s = Util.toBoolean(value).toString(); if (s == null) return "null"; //$NON-NLS-1$ else return s; }
public void processNewLoggingEvent(LoggingEvent event) { eventContainer.addLevel(event.getLevel()); eventContainer.addLogger(event.getLoggerName()); eventContainer.addThread(event.getThreadName()); eventContainer.addNDC(event.getNDC()); eventContainer.addMDCKeys(event.getMDCKeySet()); if (ev...
public void processNewLoggingEvent(LoggingEvent event) { eventContainer.addLevel(event.getLevel()); eventContainer.addLogger(event.getLoggerName()); eventContainer.addThread(event.getThreadName()); eventContainer.addNDC(event.getNDC()); eventContainer.addPropertyKeys(event.getPropertyKeySet()); ...
public IJavaElementDelta[] processResourceDelta(IResourceDelta changes, int eventType) { try { this.currentEventType = eventType; IJavaModel model = JavaModelManager.getJavaModel(ResourcesPlugin.getWorkspace()); if (!model.isOpen()) { // force opening of java model so that java element delta are report...
public IJavaElementDelta[] processResourceDelta(IResourceDelta changes, int eventType) { try { this.currentEventType = eventType; IJavaModel model = JavaModelManager.getJavaModelManager().getJavaModel(); if (!model.isOpen()) { // force opening of java model so that java element delta are reported t...
protected void report(SearchMatch match) throws CoreException { long start = -1; if (BasicSearchEngine.VERBOSE) { start = System.currentTimeMillis(); System.out.println("Reporting match"); //$NON-NLS-1$ System.out.println("\tResource: " + match.getResource()); //$NON-NLS-2$//$NON-NLS-1$ System.out.println("\t...
protected void report(SearchMatch match) throws CoreException { long start = -1; if (BasicSearchEngine.VERBOSE) { start = System.currentTimeMillis(); System.out.println("Reporting match"); //$NON-NLS-1$ System.out.println("\tResource: " + match.getResource()); //$NON-NLS-2$//$NON-NLS-1$ System.out.println("\t...
public TypeBinding resolveTypeEnclosing(BlockScope scope, ReferenceBinding enclosingType) { TypeBinding memberType = scope.getMemberType(token, enclosingType); if (!memberType.isValidBinding()) { this.resolvedType = memberType; scope.problemReporter().invalidEnclosingType(this, memberType, enclosingType); ...
public TypeBinding resolveTypeEnclosing(BlockScope scope, ReferenceBinding enclosingType) { TypeBinding memberType = scope.getMemberType(token, enclosingType); if (!memberType.isValidBinding()) { this.resolvedType = memberType; scope.problemReporter().invalidEnclosingType(this, memberType, enclosingType); ...
public int getHighestOrderedAttribute () throws Exception { int highest = 0; Criteria crit = new Criteria() .add(RAttributeAttributeGroupPeer.GROUP_ID, getAttributeGroupId()) .addAscendingOrderByColumn(RAttributeAttributeGroupPeer ...
public int getHighestOrderedAttribute () throws Exception { int highest = 0; Criteria crit = new Criteria() .add(RAttributeAttributeGroupPeer.GROUP_ID, getAttributeGroupId()) .addAscendingOrderByColumn(RAttributeAttributeGroupPeer ...
public void append(LoggingEvent event) { // extract all the thread dependent information now as later it will // be too late. event.prepareForSerialization(); if (locationInfo) { event.getLocationInformation(); } synchronized (bf) { while (bf.isFull()) { try { //...
public void append(LoggingEvent event) { // extract all the thread dependent information now as later it will // be too late. event.prepareForDeferredProcessing(); if (locationInfo) { event.getLocationInformation(); } synchronized (bf) { while (bf.isFull()) { try { ...
public Rule getRule(String symbol, Stack stack) { if (AND_RULE.equals(symbol)) { return AndRule.getRule(stack); } if (OR_RULE.equals(symbol)) { return OrRule.getRule(stack); } if (NOT_RULE.equals(symbol)) { return NotRule.getRule(stack); } if (NOT_EQUALS_RULE.equals(sy...
public Rule getRule(String symbol, Stack stack) { if (AND_RULE.equals(symbol)) { return AndRule.getRule(stack); } if (OR_RULE.equals(symbol)) { return OrRule.getRule(stack); } if (NOT_RULE.equals(symbol)) { return NotRule.getRule(stack); } if (NOT_EQUALS_RULE.equals(sy...
public boolean process( Object[] args, Folder folder, Object uid) throws Exception { // get the header of the message ColumbaHeader header = folder.getMessageHeader(uid); if ( header == null ) return false; // convert the condition string to an int which is easier to handle int condition = Filter...
public boolean process( Object[] args, Folder folder, Object uid) throws Exception { // get the header of the message Header header = folder.getHeaderFields(uid, new String[] {"To", "Cc"}); if ( header == null ) return false; // convert the condition string to an int which is easier to handle int...
public void elementChanged(ElementChangedEvent event) { // fix for 1FW67PA if (fExists) { if (exists()) { if (isAffected(event.getDelta())) { fireChange(); } } else { destroy(); fireChange(); } } }
public void elementChanged(ElementChangedEvent event) { // fix for 1FW67PA if (fExists && this.isActivated()) { if (exists()) { if (isAffected(event.getDelta())) { fireChange(); } } else { destroy(); fireChange(); } } }
protected static final String ADDRESSBOOK_RESOURCE_PATH = "org.columba.modules.addressbook.i18n";
protected static final String ADDRESSBOOK_RESOURCE_PATH = "org.columba.addressbook.i18n";
protected void toStringInfo(int tab, StringBuffer buffer, Object info) { buffer.append(this.tabString(tab)); buffer.append("import "); //$NON-NLS-1$ buffer.append(getElementName()); if (info == null) { buffer.append(" (not open)"); //$NON-NLS-1$ } }
protected void toStringInfo(int tab, StringBuffer buffer, Object info) { buffer.append(this.tabString(tab)); buffer.append("import "); //$NON-NLS-1$ toStringName(buffer); if (info == null) { buffer.append(" (not open)"); //$NON-NLS-1$ } }
public void checkBounds(Scope scope) { if (this.resolvedType == null) return; if (this.resolvedType.leafComponentType() instanceof ParameterizedTypeBinding) { ParameterizedTypeBinding parameterizedType = (ParameterizedTypeBinding) this.resolvedType.leafComponentType(); ReferenceBinding currentType = paramet...
public void checkBounds(Scope scope) { if (this.resolvedType == null) return; if (this.resolvedType.leafComponentType() instanceof ParameterizedTypeBinding) { ParameterizedTypeBinding parameterizedType = (ParameterizedTypeBinding) this.resolvedType.leafComponentType(); ReferenceBinding currentType = paramet...
public TypeBinding resolveType(BlockScope scope) { constant = NotAConstant; if ((targetType = type.resolveType(scope, true /* check bounds*/)) == null) return null; if (targetType.isArrayType() && ((ArrayBinding) targetType).leafComponentType == VoidBinding) { scope.problemReporter().cannotAllocateVoi...
public TypeBinding resolveType(BlockScope scope) { constant = NotAConstant; if ((targetType = type.resolveType(scope, true /* check bounds*/)) == null) return null; if (targetType.isArrayType() && ((ArrayBinding) targetType).leafComponentType == VoidBinding) { scope.problemReporter().cannotAllocateVoi...
public dnsMXRecord(dnsName _name, short _dclass, int _ttl, StringTokenizer st) throws IOException
public dnsMXRecord(dnsName _name, short _dclass, int _ttl, MyStringTokenizer st) throws IOException
protected void initializeDefaultPreferences(IPreferenceStore store) { JFacePreferences.setPreferenceStore(store); // new generic workbench preferences (for RCP APIs in org.eclipse.ui.application) store.setDefault(IWorkbenchPreferences.SHOULD_SAVE_WORKBENCH_STATE, false); store.setDefault(IWorkbenchPreferen...
protected void initializeDefaultPreferences(IPreferenceStore store) { JFacePreferences.setPreferenceStore(store); // new generic workbench preferences (for RCP APIs in org.eclipse.ui.application) store.setDefault(IWorkbenchPreferences.SHOULD_SAVE_WORKBENCH_STATE, false); store.setDefault(IWorkbenchPreferen...
public void rollover() throws RolloverFailure { // Inside this method it is guaranteed that the hereto active log fil is closed. // If maxIndex <= 0, then there is no file renaming to be done. if (maxIndex >= 0) { // Delete the oldest file, to keep Windows happy. File file = new File(fileNameP...
public void rollover() throws RolloverFailure { // Inside this method it is guaranteed that the hereto active log fil is closed. // If maxIndex <= 0, then there is no file renaming to be done. if (maxIndex >= 0) { // Delete the oldest file, to keep Windows happy. File file = new File(fileNameP...
public WorkingSetSelectionDialog(Shell parentShell, boolean multi, String[] workingSetIds) { super(parentShell, workingSetIds); initWorkbenchWindow(); contentProvider = new ArrayContentProvider(); labelProvider = new WorkingSetLabelProvider(); multiSelect = multi; ...
public WorkingSetSelectionDialog(Shell parentShell, boolean multi, String[] workingSetIds) { super(parentShell, workingSetIds, true); initWorkbenchWindow(); contentProvider = new ArrayContentProvider(); labelProvider = new WorkingSetLabelProvider(); multiSelect = mul...
public void resourceChanged(IResourceChangeEvent event) { int eventType = this.overridenEventType == -1 ? event.getType() : this.overridenEventType; IResource resource = event.getResource(); IResourceDelta delta = event.getDelta(); switch(eventType){ case IResourceChangeEvent.PRE_DELETE : try { i...
public void resourceChanged(IResourceChangeEvent event) { int eventType = this.overridenEventType == -1 ? event.getType() : this.overridenEventType; IResource resource = event.getResource(); IResourceDelta delta = event.getDelta(); switch(eventType){ case IResourceChangeEvent.PRE_DELETE : try { i...
public IJavaElement getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner) { switch (token.charAt(0)) { case JEM_COUNT: return getHandleUpdatingCountFromMemento(memento, workingCopyOwner); case JEM_FIELD: String fieldName = memento.nextToken(); JavaElement field = ...
public IJavaElement getHandleFromMemento(String token, MementoTokenizer memento, WorkingCopyOwner workingCopyOwner) { switch (token.charAt(0)) { case JEM_COUNT: return getHandleUpdatingCountFromMemento(memento, workingCopyOwner); case JEM_FIELD: String fieldName = memento.nextToken(); JavaElement field = ...
public void testSingleton() { Object o1 = CoreFactory.getFactory(); Object o2 = CoreFactory.getFactory(); assert("Different singletons", o1 == o2); }
public void testSingleton() { Object o1 = CoreFactory.getFactory(); Object o2 = CoreFactory.getFactory(); assertTrue("Different singletons", o1 == o2); }
public void consumeRawType() { if (this.typeBinding == null) return; this.typeBinding = this.environment.createRawType((ReferenceBinding) this.typeBinding, null/*no enclosing type*/); }
public void consumeRawType() { if (this.typeBinding == null) return; this.typeBinding = this.environment.createRawType((ReferenceBinding) this.typeBinding, this.typeBinding.enclosingType()); }
public void acceptType(int modifiers, char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames, String path, AccessRestriction access) { String key = packageName==null ? "" : new String(packageName); //$NON-NLS-1$ HashMap types = (HashMap) secondaryTypes.get(key); if (types == null) types =...
public void acceptType(int modifiers, char[] packageName, char[] simpleTypeName, char[][] enclosingTypeNames, String path, AccessRestriction access) { String key = packageName==null ? "" : new String(packageName); //$NON-NLS-1$ HashMap types = (HashMap) secondaryTypes.get(key); if (types == null) types =...
public void run() { // create instance of target wizard INewWizard wizard; try { wizard = (INewWizard) wizardElement.createWizard(); } catch (CoreException e) { ErrorDialog.openError(window.getShell(), WorkbenchMessages.NewWizardShortcutAction_errorTitle, //$...
public void run() { // create instance of target wizard INewWizard wizard; try { wizard = (INewWizard) wizardElement.createWizard(); } catch (CoreException e) { ErrorDialog.openError(window.getShell(), WorkbenchMessages.NewWizardShortcutAction_errorTitle, ...
public char[] getContents() { try { IBuffer buffer = this.getBuffer(); return buffer == null ? null : buffer.getCharacters(); } catch (JavaModelException e) { return CharOperation.NO_CHAR; } }
public char[] getContents() { try { IBuffer buffer = this.getBuffer(); return buffer == null ? CharOperation.NO_CHAR : buffer.getCharacters(); } catch (JavaModelException e) { return CharOperation.NO_CHAR; } }
public void begin(ExecutionContext ec, String name, Attributes attributes) { String debugAttrib = attributes.getValue(INTERNAL_DEBUG_ATTR); if ( (debugAttrib == null) || debugAttrib.equals("") || debugAttrib.equals("null")) { getLogger().debug("Ignoring " + INTERNAL_DEBUG_ATTR + " attribu...
public void begin(ExecutionContext ec, String name, Attributes attributes) { String debugAttrib = attributes.getValue(INTERNAL_DEBUG_ATTR); if ( (debugAttrib == null) || debugAttrib.equals("") || debugAttrib.equals("false") || debugAttrib.equals("null")) { getLogger().debug("Ignoring " + ...
public SimpleName getName() { if (this.constantName == null) { // lazy init must be thread-safe for readers synchronized (this.ast) { if (this.constantName == null) { preLazyInit(); this.constantName = new SimpleName(this.ast); postLazyInit(this.constantName, NAME_PROPERTY); } } } ...
public SimpleName getName() { if (this.constantName == null) { // lazy init must be thread-safe for readers synchronized (this) { if (this.constantName == null) { preLazyInit(); this.constantName = new SimpleName(this.ast); postLazyInit(this.constantName, NAME_PROPERTY); } } } ret...
private boolean init(String[] commandLineArgs) { Manager.getInstance(); this.commandLineArgs = commandLineArgs; if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } initializeProductImage(); connectToWorkspace(); addAdapters(); wi...
private boolean init(String[] commandLineArgs) { Manager.getInstance(); this.commandLineArgs = commandLineArgs; if (WorkbenchPlugin.getDefault().isDebugging()) { WorkbenchPlugin.DEBUG = true; ModalContext.setDebugMode(true); } initializeProductImage(); connectToWorkspace(); addAdapters(); wi...
public TypeBinding resolveType(BlockScope scope) { // Propagate the type checking to the arguments, and check if the constructor is defined. constant = NotAConstant; if (this.type == null) { // initialization of an enum constant this.resolvedType = scope.enclosingSourceType(); } else { this.resolvedT...
public TypeBinding resolveType(BlockScope scope) { // Propagate the type checking to the arguments, and check if the constructor is defined. constant = NotAConstant; if (this.type == null) { // initialization of an enum constant this.resolvedType = scope.enclosingReceiverType(); } else { this.resolve...
private boolean connectSuperInterfaces() { SourceTypeBinding sourceType = referenceContext.binding; sourceType.superInterfaces = NoSuperInterfaces; if (referenceContext.superInterfaces == null) { if (sourceType.isAnnotationType() && environment().options.sourceLevel >= JDK1_5) { // do not connect if source < ...
private boolean connectSuperInterfaces() { SourceTypeBinding sourceType = referenceContext.binding; sourceType.superInterfaces = NoSuperInterfaces; if (referenceContext.superInterfaces == null) { if (sourceType.isAnnotationType() && environment().options.sourceLevel >= JDK1_5) { // do not connect if source < ...
public void rollOver() throws IOException { /* Compute filename, but only if datePattern is specified */ if (datePattern == null) { errorHandler.error("Missing DatePattern option in rollOver()."); return; } String datedFilename = fileName + sdf.format(now); // It is too early to...
public void rollOver() throws IOException { /* Compute filename, but only if datePattern is specified */ if (datePattern == null) { errorHandler.error("Missing DatePattern option in rollOver()."); return; } String datedFilename = fileName + sdf.format(now); // It is too early to...
public Process openURL(URL url) { if (OSInfo.isWin2K() || OSInfo.isWinXP()) { Process proc = null; try { String[] cmd = new String[] { "rundll32", "url.dll,FileProtocolHandler", url.toString() }; ...
public Process openURL(URL url) { if (OSInfo.isWin2K() || OSInfo.isWinXP()) { Process proc = null; try { String[] cmd = new String[] { "rundll32", "url.dll,FileProtocolHandler", '"' + url.toString() + '"' ...
public void codeComplete(char[] snippet,int insertion,int position,char[][] localVariableTypeNames,char[][] localVariableNames,int[] localVariableModifiers,boolean isStatic,ICompletionRequestor requestor) throws JavaModelException { if (requestor == null) { throw new IllegalArgumentException(Util.bind("codeAssist.nu...
public void codeComplete(char[] snippet,int insertion,int position,char[][] localVariableTypeNames,char[][] localVariableNames,int[] localVariableModifiers,boolean isStatic,ICompletionRequestor requestor) throws JavaModelException { if (requestor == null) { throw new IllegalArgumentException(Util.bind("codeAssist.nu...
public String toString() { if (startPosition == source.length) return "EOF\n\n" + new String(source); //$NON-NLS-1$ if (currentPosition > source.length) return "behind the EOF :-( ....\n\n" + new String(source); //$NON-NLS-1$
public String toString() { if (startPosition == source.length) return "EOF\n\n" + new String(source); //$NON-NLS-1$ if (currentPosition > source.length) return "behind the EOF\n\n" + new String(source); //$NON-NLS-1$
public void delete( ScarabUser user ) throws Exception { ModuleEntity module = getModule(); if (user.hasPermission(ScarabSecurity.MODULE__EDIT, module)) { // Delete attribute groups first List attGroups = getIssueType().getAttributeGroups...
public void delete( ScarabUser user ) throws Exception { ModuleEntity module = getModule(); if (user.hasPermission(ScarabSecurity.MODULE__EDIT, module)) { // Delete attribute groups first List attGroups = module.getAttributeGroups(getIssu...
public void handleMessage(EBMessage msg) { if(msg instanceof DynamicMenuChanged && name.equals(((DynamicMenuChanged)msg) .getMenuName())) { menuOutOfDate = true; } else if(msg instanceof PropertiesChanged) { // while this might be questionable, some // menus depend on properties ...
public void handleMessage(EBMessage msg) { if(msg instanceof DynamicMenuChanged && name.equals(((DynamicMenuChanged)msg) .getMenuName())) { menuOutOfDate = true; } else if(msg instanceof PropertiesChanged) { // while this might be questionable, some // menus depend on properties ...
public void actionPerformed(ActionEvent ae) { Editor ce = Globals.curEditor(); SelectionManager sm = ce.getSelectionManager(); // Get all the figures from the diagram. Vector nodes = ((Diagram)ProjectBrowser.TheInstance.getTarget()).getLayer().getContents(); for(int i=0; i < nod...
public void actionPerformed(ActionEvent ae) { Editor ce = Globals.curEditor(); SelectionManager sm = ce.getSelectionManager(); // Get all the figures from the diagram. Vector nodes = ((Diagram)ProjectBrowser.TheInstance.getActiveDiagram()).getLayer().getContents(); for(int i=0; ...
public void actionPerformed(ActionEvent event) { ProjectBrowser.TheInstance.saveScreenConfiguration(); if (! Configuration.save()) Configuration.save(true); }
public void actionPerformed(ActionEvent event) { ProjectBrowser.getInstance().saveScreenConfiguration(); if (! Configuration.save()) Configuration.save(true); }
public void validate() { JavaModelManager.PerProjectInfo perProjectInfo; try { perProjectInfo = this.project.getPerProjectInfo(); } catch (JavaModelException e) { // project doesn't exist IProject resource = this.project.getProject(); if (resource.isAccessible()) { this.project.flushClasspathProb...
public void validate() { JavaModelManager.PerProjectInfo perProjectInfo; try { perProjectInfo = this.project.getPerProjectInfo(); } catch (JavaModelException e) { // project doesn't exist IProject resource = this.project.getProject(); if (resource.isAccessible()) { this.project.flushClasspathProb...
public TypeBinding resolveType(BlockScope scope) { // for code gen, harm the restrictiveFlag if (this.actualReceiverType != null) { this.binding = scope.getField(this.actualReceiverType, token, this); } else { this.actualReceiverType = scope.enclosingSourceType(); this.binding = scope.getBinding(tok...
public TypeBinding resolveType(BlockScope scope) { // for code gen, harm the restrictiveFlag if (this.actualReceiverType != null) { this.binding = scope.getField(this.actualReceiverType, token, this); } else { this.actualReceiverType = scope.enclosingSourceType(); this.binding = scope.getBinding(tok...
private static void start(String[] args) throws Exception { // initialize global class loader mainClassLoader = new MainClassLoader(Thread.currentThread().getContextClassLoader()); Thread.currentThread().setContextClassLoader(mainClassLoader); Bootstrap startup = new Bootstrap(); startup.run(args); }
private static void start(String[] args) throws Exception { // initialize global class loader mainClassLoader = new MainClassLoader(Main.class.getClassLoader()); Thread.currentThread().setContextClassLoader(mainClassLoader); Bootstrap startup = new Bootstrap(); startup.run(args); }
public void testIllegalStates() { MultiplexAppender appender = null; appender = new MultiplexAppender(); try { appender.activateOptions(); fail("Should have thrown an IllegalStateException because it should not be configured correctly"); } catch (Exception e) { // expected } appender = null; }
public void testIllegalStates() { MultiplexAppender appender = null; appender = new MultiplexAppender(); try { appender.activate(); fail("Should have thrown an IllegalStateException because it should not be configured correctly"); } catch (Exception e) { // expected } appender = null; }
public ICompilationUnit getWorkingCopy(IProgressMonitor monitor) throws JavaModelException { return getWorkingCopy(new DefaultWorkingCopyOwner(), null/*no problem requestor*/, monitor); }
public ICompilationUnit getWorkingCopy(IProgressMonitor monitor) throws JavaModelException { return getWorkingCopy(new WorkingCopyOwner() {/*non shared working copy*/}, null/*no problem requestor*/, monitor); }
public TypeBinding resolveType(BlockScope scope) { constant = NotAConstant; if (!checkAccess(scope.methodScope())) return null; SourceTypeBinding enclosingTb = scope.enclosingSourceType(); if (enclosingTb.id == T_Object) { scope.problemReporter().cannotUseSuperInJavaLangObject(this); return null; }...
public TypeBinding resolveType(BlockScope scope) { constant = NotAConstant; if (!checkAccess(scope.methodScope())) return null; SourceTypeBinding enclosingTb = scope.enclosingSourceType(); if (enclosingTb.id == T_JavaLangObject) { scope.problemReporter().cannotUseSuperInJavaLangObject(this); return n...
public void setSharedProperty(QualifiedName key, String value) throws CoreException { String propertyName = computeSharedPropertyFileName(key); IFile rscFile = getProject().getFile(propertyName); InputStream input = new BufferedInputStream(new ByteArrayInputStream(value.getBytes())); // update the resource ...
public void setSharedProperty(QualifiedName key, String value) throws CoreException { String propertyName = computeSharedPropertyFileName(key); IFile rscFile = getProject().getFile(propertyName); InputStream input = new ByteArrayInputStream(value.getBytes()); // update the resource content if (rscFile.exi...
static public void main(String[] args) { if(args.length == 0) { // Note that the appender is added to root but that the log // request is made to an instance of MyCategory. The output still // goes to System.out. Category root = Category.getRoot(); Layout layout = new PatternLay...
static public void main(String[] args) { if(args.length == 0) { // Note that the appender is added to root but that the log // request is made to an instance of MyCategory. The output still // goes to System.out. Category root = Category.getRoot(); Layout layout = new PatternLay...
public static void main(String[] args) { HTMLLayout htmlLayout = new HTMLLayout("%sn%date%thread%level%logger%m"); //htmlLayout.setInternalCSS(true); //EnhancedHTMLLayout htmlLayout = new EnhancedHTMLLayout("%relative%thread%level%logger%m"); FileAppender appender = new FileAppender(); appender.se...
public static void main(String[] args) { HTMLLayout htmlLayout = new HTMLLayout("%sn%date%thread%level%logger%m"); //htmlLayout.setInternalCSS(true); //EnhancedHTMLLayout htmlLayout = new EnhancedHTMLLayout("%relative%thread%level%logger%m"); FileAppender appender = new FileAppender(); appender.se...
static private final char[][] noException = CharOperation.NO_CHAR_CHAR; /** * @param classFileBytes byte[] * @param offsets int[] * @param offset int */ public MethodInfo (byte classFileBytes[], int offsets[], int offset) throws ClassFormatException { super(classFileBytes, offset); constantPoolOffsets = offsets;...
static private final char[][] noException = CharOperation.NO_CHAR_CHAR; /** * @param classFileBytes byte[] * @param offsets int[] * @param offset int */ public MethodInfo (byte classFileBytes[], int offsets[], int offset) { super(classFileBytes, offset); constantPoolOffsets = offsets; accessFlags = -1; int att...
public ProcessException(Throwable ex) { super("ProcessException", ex); }
public ProcessException(Throwable ex) { super("ProcessException" + ex); }
protected Object createEvent() { return StateMachinesFactory.getFactory().createSignalEvent(); }
protected Object createEvent() { return StateMachinesFactory.getFactory().buildSignalEvent(); }
public Component getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { super.getTableCellRendererComponent( table, value, isSelected, hasFocus, row, column); if (value == null) { setIcon(null); return this; } ...
public Component getTableCellRendererComponent( JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { super.getTableCellRendererComponent( table, value, isSelected, hasFocus, row, column); if (value == null) { setIcon(null); return this; } ...
public void indexDocument() { // Create a new Parser SourceIndexerRequestor requestor = new SourceIndexerRequestor(this); String documentPath = this.document.getPath(); SourceElementParser parser = ((InternalSearchDocument) this.document).parser; if (parser == null) { IPath path = new Path(documentPath); ...
public void indexDocument() { // Create a new Parser SourceIndexerRequestor requestor = new SourceIndexerRequestor(this); String documentPath = this.document.getPath(); SourceElementParser parser = ((InternalSearchDocument) this.document).parser; if (parser == null) { IPath path = new Path(documentPath); ...
public void generatePostIncrement( BlockScope currentScope, CodeStream codeStream, CompoundAssignment postIncrement, boolean valueRequired) { FieldBinding lastFieldBinding = generateReadSequence(currentScope, codeStream); SyntheticMethodBinding accessor = syntheticReadAccessors == null ? null ...
public void generatePostIncrement( BlockScope currentScope, CodeStream codeStream, CompoundAssignment postIncrement, boolean valueRequired) { FieldBinding lastFieldBinding = generateReadSequence(currentScope, codeStream); SyntheticMethodBinding accessor = syntheticReadAccessors == null ? null ...
public TypeReferencePattern(char[] qualification, char[] simpleName, int matchRule) { this(matchRule); this.qualification = isCaseSensitive() ? qualification : CharOperation.toLowerCase(qualification); this.simpleName = isCaseSensitive() ? simpleName : CharOperation.toLowerCase(simpleName); if (simpleName ...
public TypeReferencePattern(char[] qualification, char[] simpleName, int matchRule) { this(matchRule); this.qualification = isCaseSensitive() ? qualification : CharOperation.toLowerCase(qualification); this.simpleName = (isCaseSensitive() || isCamelCase()) ? simpleName : CharOperation.toLowerCase(simpleName);...
* N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ TryStatement(AST ast) { super(ast); } /* (omit javadoc for this method) * Method declared on ASTNode. */ final List internalStructuralPropertiesForType(int apiLevel) { return propertyDescriptors...
* N.B. This constructor is package-private. * </p> * * @param ast the AST that is to own this node */ TryStatement(AST ast) { super(ast); } /* (omit javadoc for this method) * Method declared on ASTNode. */ final List internalStructuralPropertiesForType(int apiLevel) { return propertyDescriptors...
private void parseMethod( TypeDeclaration type, CompilationUnitDeclaration unit, int position) { //members TypeDeclaration[] memberTypes = type.memberTypes; if (memberTypes != null) { int length = memberTypes.length; for (int i = 0; i < length; i++) { TypeDeclaration memberType = memberTypes[i]; ...
private void parseMethod( TypeDeclaration type, CompilationUnitDeclaration unit, int position) { //members TypeDeclaration[] memberTypes = type.memberTypes; if (memberTypes != null) { int length = memberTypes.length; for (int i = 0; i < length; i++) { TypeDeclaration memberType = memberTypes[i]; ...
public String getAttachedJavadoc(IProgressMonitor monitor, String defaultEncoding) throws JavaModelException { String contents = ((BinaryType) this.getDeclaringType()).getJavadocContents(monitor, defaultEncoding); if (contents == null) throw new JavaModelException(new JavaModelStatus(IJavaModelStatusConstants.CANNOT_...
public String getAttachedJavadoc(IProgressMonitor monitor, String defaultEncoding) throws JavaModelException { String contents = ((BinaryType) this.getDeclaringType()).getJavadocContents(monitor, defaultEncoding); if (contents == null) return null; int indexAnchor = contents.indexOf( JavadocConstants.ANCHOR_PREFI...
private static final int debug=10; void log( String s ) { System.out.println("DependManager: " + s ); } }
private static final int debug=0; void log( String s ) { System.out.println("DependManager: " + s ); } }
public int computeSeverity(int problemId){ // severity can have been preset on the problem // if ((problem.severity & Fatal) != 0){ // return Error; // } // if not then check whether it is a configurable problem switch(problemId){ case IProblem.MaskedCatch : return this.options.getSeverity(CompilerOptions....
public int computeSeverity(int problemId){ // severity can have been preset on the problem // if ((problem.severity & Fatal) != 0){ // return Error; // } // if not then check whether it is a configurable problem switch(problemId){ case IProblem.MaskedCatch : return this.options.getSeverity(CompilerOptions....
public void run() { long idlingStart = -1; activateProcessing(); while (true) { try { IJob job; if ((job = currentJob()) == null) { if (idlingStart < 0) idlingStart = System.currentTimeMillis(); notifyIdle(System.currentTimeMillis() - idlingStart); Thread.currentThread().sleep(50...
public void run() { long idlingStart = -1; activateProcessing(); while (true) { try { IJob job; if ((job = currentJob()) == null) { if (idlingStart < 0) idlingStart = System.currentTimeMillis(); notifyIdle(System.currentTimeMillis() - idlingStart); Thread.currentThread().sleep(50...
public LongLiteralMinValue(){ super(CharValue,0,0); constant = MIN_VALUE; }
public LongLiteralMinValue(){ super(CharValue,0,0); this.constant = MIN_VALUE; }
public SyntheticArgumentBinding getSyntheticArgument(ReferenceBinding targetEnclosingType, BlockScope scope, boolean onlyExactMatch) { if (enclosingInstances == null) return null; // is null if no enclosing instances are known // exact match for (int i = enclosingInstances.length; --i >= 0;) if (enclosing...
public SyntheticArgumentBinding getSyntheticArgument(ReferenceBinding targetEnclosingType, boolean onlyExactMatch) { if (enclosingInstances == null) return null; // is null if no enclosing instances are known // exact match for (int i = enclosingInstances.length; --i >= 0;) if (enclosingInstances[i].type ...
public boolean getAllowMultiple() { String string = configElement.getAttribute(IWorkbenchRegistryConstants.ATT_MULTIPLE); return string == null ? false : Boolean.valueOf(string).booleanValue(); }
public boolean getAllowMultiple() { String string = configElement.getAttribute(IWorkbenchRegistryConstants.ATT_ALLOW_MULTIPLE); return string == null ? false : Boolean.valueOf(string).booleanValue(); }
public String getLiteralValue() { String s = getEscapedValue(); int len = s.length(); if (len < 2 || s.charAt(0) != '\"' || s.charAt(len-1) != '\"' ) { throw new IllegalArgumentException(); } Scanner scanner = this.ast.scanner; char[] source = s.toCharArray(); scanner.setSource(source); scanner.r...
public String getLiteralValue() { String s = getEscapedValue(); int len = s.length(); if (len < 2 || s.charAt(0) != '\"' || s.charAt(len-1) != '\"' ) { throw new IllegalArgumentException(); } Scanner scanner = this.ast.scanner; char[] source = s.toCharArray(); scanner.setSource(source); scanner.r...
protected void storeProblemsFor(IResource resource, IProblem[] problems) throws CoreException { if (resource == null || problems == null || problems.length == 0) return; String missingClassFile = null; for (int i = 0, length = problems.length; i < length; i++) { IProblem problem = problems[i]; int id = problem....
protected void storeProblemsFor(IResource resource, IProblem[] problems) throws CoreException { if (resource == null || problems == null || problems.length == 0) return; String missingClassFile = null; for (int i = 0, length = problems.length; i < length; i++) { IProblem problem = problems[i]; int id = problem....
public ImportPluginHandler() { super("org.columba.mail.import", "org/columba/mail/folder/import.xml"); parentNode = getConfig().getRoot().getElement("importlist"); }
public ImportPluginHandler() { super("org.columba.mail.import", "org/columba/mail/plugin/import.xml"); parentNode = getConfig().getRoot().getElement("importlist"); }
public int decide(LoggingEvent event) { if(this.levelToMatch == null) { return Filter.NEUTRAL; } boolean matchOccured = false; if(this.levelToMatch.equals(event.level)) { matchOccured = true; } if(matchOccured) { if(this.acceptOnMatch) return Filter.ACCEPT; ...
public int decide(LoggingEvent event) { if(this.levelToMatch == null) { return Filter.NEUTRAL; } boolean matchOccured = false; if(this.levelToMatch.equals(event.getLevel())) { matchOccured = true; } if(matchOccured) { if(this.acceptOnMatch) return Filter.ACCEPT;...
public FlowInfo analyseCode( BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo) { // process the condition flowInfo = condition.analyseCode(currentScope, flowContext, flowInfo); Constant cst = this.condition.optimizedBooleanConstant(); boolean isConditionOptimizedTrue = cst != NotACon...
public FlowInfo analyseCode( BlockScope currentScope, FlowContext flowContext, FlowInfo flowInfo) { // process the condition flowInfo = condition.analyseCode(currentScope, flowContext, flowInfo); Constant cst = this.condition.optimizedBooleanConstant(); boolean isConditionOptimizedTrue = cst != NotACon...
public void mouseDoubleClick(MouseEvent e) { processDoubleClick(); } }); //Never show debug info IContentProvider provider = new ProgressViewerContentProvider(viewer, false); viewer.setContentProvider(provider); viewer.setI...
public void mouseDoubleClick(MouseEvent e) { processDoubleClick(); } }); //Never show debug info IContentProvider provider = new ProgressViewerContentProvider(viewer, false,true); viewer.setContentProvider(provider); viewer...
public static void updatePerspective(IConfigurationElement configElement) { // Do not change perspective if the configuration element is // not specified. if (configElement == null) return; AbstractUIPlugin uiPlugin = (AbstractUIPlugin) Platform.getPlugin(PlatformUI.PLUGIN_ID); // Retrieve the new proje...
public static void updatePerspective(IConfigurationElement configElement) { // Do not change perspective if the configuration element is // not specified. if (configElement == null) return; AbstractUIPlugin uiPlugin = (AbstractUIPlugin) Platform.getPlugin(PlatformUI.PLUGIN_ID); // Retrieve the new proje...
public XmlElement getConfigNode(MessageFolder folder) { // global option if (folder == null) { return FolderItem.getGlobalOptions().getElement(getName()); } // use folder specific options XmlElement parent = folder.getFolderItem().getFolderOptions(); Xml...
public XmlElement getConfigNode(MessageFolder folder) { // global option if (folder == null) { return FolderItem.getGlobalOptions().getElement(getName()); } // use folder specific options XmlElement parent = folder.getConfiguration().getFolderOptions(); ...
public int compare(Object o1, Object o2) { ValidatorAction va1 = (ValidatorAction)o1; ValidatorAction va2 = (ValidatorAction)o2; if ((va1.getDepends() == null || va1.getDepends().length() == 0) && (va2.getDepends() == null || va2.getDepe...
public int compare(Object o1, Object o2) { ValidatorAction va1 = (ValidatorAction)o1; ValidatorAction va2 = (ValidatorAction)o2; if ((va1.getDepends() == null || va1.getDepends().length() == 0) && (va2.getDepends() == null || va2.getDepe...
public boolean isField(String fieldName) { return keywordList.contains(fieldName); }
public boolean isField(String fieldName) { return ((fieldName != null) && (keywordList.contains(fieldName.toUpperCase()))); }
public void showView(Composite newClientComposite, ViewPane pane, int newSide, float sizeRatio) { side = newSide; if (currentPane != null) { hideView(); } currentPane = pane; ratio = sizeRatio; clientComposite = newClientComposite; clientComposite.addListener(SWT.Resize, resizeListener); ...
public void showView(Composite newClientComposite, ViewPane pane, int newSide, float sizeRatio) { side = newSide; if (currentPane != null) { hideView(); } currentPane = pane; ratio = sizeRatio; clientComposite = newClientComposite; clientComposite.addListener(SWT.Resize, resizeListener); ...
public void resolveAnnotation() { if (this.binding == null) return; if (this.annotation != null) { this.annotation.resolve(this.scope); return; } if (this.binding.isPublic()) { this.scope.problemReporter().annotationMissingForPublic(this.sourceStart, this.sourceEnd); } }
public void resolveAnnotation() { if (this.binding == null) return; if (this.annotation != null) { this.annotation.resolve(this.scope); return; } if (this.binding.isPublic()) { this.scope.problemReporter().annotationMissing(this.sourceStart, this.sourceEnd); } }
private void verbose_batching_containers_initialization(IJavaProject javaProjectToInit, IPath containerToInit) { Util.verbose( "CPContainer INIT - batching containers initialization\n" + //$NON-NLS-1$ " project to init: " + javaProjectToInit.getElementName() + '\n' + //$NON-NLS-1$ " container path to init: ...
private void verbose_batching_containers_initialization(IJavaProject javaProjectToInit, IPath containerToInit) { Util.verbose( "CPContainer INIT - batching containers initialization\n" + //$NON-NLS-1$ " project to init: " + (javaProjectToInit == null ? "null" : javaProjectToInit.getElementName()) + '\n' + //$N...
public RedoAction(AbstractFrameController controller) { super( controller, GlobalResourceLoader.getString( null, null, "menu_edit_redo")); // tooltip text setTooltipText( GlobalResourceLoader.getString( null, null, "menu_edit_redo")); // action command setActionCommand("REDO"); ...
public RedoAction(AbstractFrameController controller) { super( controller, GlobalResourceLoader.getString( null, null, "menu_edit_redo")); // tooltip text setTooltipText( GlobalResourceLoader.getString( null, null, "menu_edit_redo_tooltip")); // action command setActionCommand("RE...
public void parseMethod_whenCantParse() { assertNull(Description.TEST_MECHANISM.parseMethod()); }
public void parseMethod_whenCantParse() { assertNull(Description.TEST_MECHANISM.getMethodName()); }
public boolean isSubsignature(IMethodBinding otherMethod) { org.eclipse.jdt.internal.compiler.lookup.MethodBinding other = ((MethodBinding) otherMethod).binding; if (!CharOperation.equals(this.binding.selector, other.selector)) return false; return this.binding.areParameterErasuresEqual(other); }
public boolean isSubsignature(IMethodBinding otherMethod) { org.eclipse.jdt.internal.compiler.lookup.MethodBinding other = ((MethodBinding) otherMethod).binding; if (!CharOperation.equals(this.binding.selector, other.selector)) return false; return this.binding.areParameterErasuresEqual(other) && this.binding...
public boolean isFormatWrapped() { return format.equals(FORMAT_WRAP); }
public boolean isFormatWrapped() { return FORMAT_WRAP.equals(format); }
public void acceptResult(CompilationResult result) { // In Batch mode, we write out the class files, hold onto the dependency info // & additional types and report problems. // In Incremental mode, when writing out a class file we need to compare it // against the previous file, remembering if structural changes o...
public void acceptResult(CompilationResult result) { // In Batch mode, we write out the class files, hold onto the dependency info // & additional types and report problems. // In Incremental mode, when writing out a class file we need to compare it // against the previous file, remembering if structural changes o...
public IBuffer getBuffer() { return (IBuffer) source; }
public IBuffer getBuffer() { return (IBuffer) this.source; }
public boolean generateSubRoutineInvocation(BlockScope currentScope, CodeStream codeStream, Object targetLocation, int stateIndex, LocalVariableBinding secretLocal) { boolean isStackMapFrameCodeStream = codeStream instanceof StackMapFrameCodeStream; int finallyMode = finallyMode(); switch(finallyMode) { case FINA...
public boolean generateSubRoutineInvocation(BlockScope currentScope, CodeStream codeStream, Object targetLocation, int stateIndex, LocalVariableBinding secretLocal) { boolean isStackMapFrameCodeStream = codeStream instanceof StackMapFrameCodeStream; int finallyMode = finallyMode(); switch(finallyMode) { case FINA...
public void resolveAnnotation() { if (this.binding == null || this.annotation != null) { super.resolveAnnotation(); return; } if (!isDefaultConstructor && (this.binding.modifiers & AccPublic) != 0) { this.scope.problemReporter().annotationMissingForPublic(this.sourceStart, this.sourceEnd); } }
public void resolveAnnotation() { if (this.binding == null || this.annotation != null) { super.resolveAnnotation(); return; } if (!isDefaultConstructor && (this.binding.modifiers & AccPublic) != 0) { this.scope.problemReporter().annotationMissing(this.sourceStart, this.sourceEnd); } }
public boolean execute(IProgressMonitor progressMonitor) { if (this.isCancelled || progressMonitor != null && progressMonitor.isCanceled()) return true; try { // if index is already cached, then do not perform any check // MUST reset the IndexManager if a jar file is changed Index index = manager.getInd...
public boolean execute(IProgressMonitor progressMonitor) { if (this.isCancelled || progressMonitor != null && progressMonitor.isCanceled()) return true; try { // if index is already cached, then do not perform any check // MUST reset the IndexManager if a jar file is changed Index index = manager.getInd...
public ShowPartPaneMenuAction(IWorkbenchWindow window) { super(""); //$NON-NLS-1$ if (window == null) { throw new IllegalArgumentException(); } this.workbenchWindow = window; // @issue missing action id initText(); workbenchWindow.getPartService()....
public ShowPartPaneMenuAction(IWorkbenchWindow window) { super(""); //$NON-NLS-1$ if (window == null) { throw new IllegalArgumentException(); } this.workbenchWindow = window; // @issue missing action id initText(); workbenchWindow.getPartService()....
public boolean implementsMethod(MethodBinding method) { return this.type.implementsMethod(method); // erasure } void initialize(ReferenceBinding someType, TypeBinding[] someArguments) { this.type = someType; this.sourceName = someType.sourceName; this.compoundName = someType.compoundName; this.fPackage = ...
public boolean implementsMethod(MethodBinding method) { return this.type.implementsMethod(method); // erasure } void initialize(ReferenceBinding someType, TypeBinding[] someArguments) { this.type = someType; this.sourceName = someType.sourceName; this.compoundName = someType.compoundName; this.fPackage = ...
public void doService(Request req, Response res) throws Exception { // this is how get locale is implemented. Ugly, but it's in // the next round of optimizations Locale locale=RequestUtil.getLocale(req); StringManager sm=StringManager. getManager("org.apache.tomcat.servlets",locale); DateFormat date...
public void doService(Request req, Response res) throws Exception { // this is how get locale is implemented. Ugly, but it's in // the next round of optimizations Locale locale=RequestUtil.getLocale(req); StringManager sm=StringManager. getManager("org.apache.tomcat.resources",locale); DateFormat dat...
private ServletHandler mapJspPage( Context ctx, String uri) { String servletName= SERVLET_NAME_PREFIX + uri; if( debug>0) log( "mapJspPage " + ctx + " " + " " + servletName + " " + uri ); Handler h=ctx.getServletByName( servletName ); if( h!= null ) { log( "Name already exists " + servletName ...
private ServletHandler mapJspPage( Context ctx, String uri) { String servletName= SERVLET_NAME_PREFIX + uri; if( debug>0) log( "mapJspPage " + ctx + " " + " " + servletName + " " + uri ); Handler h=ctx.getServletByName( servletName ); if( h!= null ) { log( "Name already exists " + servletName ...
public static Class getOMClass() throws Exception { return ModuleManager.getModuleClass(); }
public static Class getOMClass() throws Exception { return ModuleManager.getOMClass(); }
public String getMainTaskName(){ return Util.bind("operation.createInitializerProgress"/*nonNLS*/); }
public String getMainTaskName(){ return Util.bind("operation.createInitializerProgress"); //$NON-NLS-1$ }
protected TypeBinding getTypeBinding(Scope scope) { if (this.resolvedType != null) return this.resolvedType; Binding binding = scope.getPackage(this.tokens); if (binding != null && !binding.isValidBinding()) return (ReferenceBinding) binding; // not found PackageBinding packageBinding = binding =...
protected TypeBinding getTypeBinding(Scope scope) { if (this.resolvedType != null) return this.resolvedType; Binding binding = scope.getPackage(this.tokens); if (binding != null && !binding.isValidBinding()) return (ReferenceBinding) binding; // not found PackageBinding packageBinding = binding =...
public long time = 0; long lineCount; boolean preserveAllLocalVariables = false; // The unused and final local variables will be optimized String[] filenames; String[] classpaths; String destinationPath; String log; int repetitions; int globalProblemsCount; int globalErrorsCount; int globalWarningsCount; ...
public long time = 0; long lineCount; boolean preserveAllLocalVariables = false; // The unused and final local variables will be optimized String[] filenames; String[] classpaths; String destinationPath; String log; int repetitions; int globalProblemsCount; int globalErrorsCount; int globalWarningsCount; ...