public ExceptionLabel enterAnyExceptionHandler(CodeStream codeStream) { if (this.anyExceptionLabel == null) { this.anyExceptionLabel = new ExceptionLabel(codeStream, null /*any exception*/); } this.anyExceptionLabel.placeStart(); return this.anyExceptionLabel; }
public void place() { for (int i = 0, max = this.exceptionLabels.length; i < max; i++) { this.exceptionLabels[i].place(); } } public void placeEnd() {
public void placeEnd() { for (int i = 0, max = this.exceptionLabels.length; i < max; i++) { this.exceptionLabels[i].placeEnd(); } } public void placeStart() {
if ((fieldBinding.getAccessFlags() & ClassFileConstants.AccEnum) != 0) { final BranchLabel endLabel = new BranchLabel(this); final ExceptionLabel anyExceptionHandler = new ExceptionLabel(this, TypeBinding.LONG /* represents NoSuchFieldError*/); anyExceptionHandler.placeStart(); aload_0(); this.generateInlinedValue(fieldBinding.id + 1); // zero should not be returned see bug 141810 iastore(); anyExceptionHandler.placeEnd(); goto_(endLabel); anyExceptionHandler.place();
public int getCount() { int temp = 0; for (int i = 0, max = this.exceptionLabels.length; i < max; i++) { temp += this.exceptionLabels[i].getCount(); } return temp; } }
public void placeStart() { for (int i = 0, max = this.exceptionLabels.length; i < max; i++) { this.exceptionLabels[i].placeStart(); } } public int getCount() {
public void initialize(UnionTypeReference typeReference) { TypeReference[] typeReferences = typeReference.typeReferences; int length = typeReferences.length; this.exceptionLabels = new ExceptionLabel[length]; for (int i = 0; i < length; i++) { this.exceptionLabels[i] = new ExceptionLabel(this.codeStream, typeReferences[i].resolvedType); } } public void place() {
if ((fieldBinding.getAccessFlags() & ClassFileConstants.AccEnum) != 0) { final BranchLabel endLabel = new BranchLabel(this); final ExceptionLabel anyExceptionHandler = new ExceptionLabel(this, TypeBinding.LONG /* represents NoSuchFieldError*/); anyExceptionHandler.placeStart(); aload_0(); this.generateInlinedValue(fieldBinding.id + 1); // zero should not be returned see bug 141810 iastore(); anyExceptionHandler.placeEnd(); goto_(endLabel); anyExceptionHandler.place();
public int getCount() { int temp = 0; for (int i = 0, max = this.exceptionLabels.length; i < max; i++) { temp += this.exceptionLabels[i].getCount(); } return temp; } }
public void enterDeclaredExceptionHandlers(CodeStream codeStream) { for (int i = 0, length = this.declaredExceptionLabels == null ? 0 : this.declaredExceptionLabels.length; i < length; i++) { this.declaredExceptionLabels[i].placeStart(); } }
public void initialize(UnionTypeReference typeReference, Annotation [] annotations) { TypeReference[] typeReferences = typeReference.typeReferences; int length = typeReferences.length; this.exceptionLabels = new ExceptionLabel[length]; for (int i = 0; i < length; i++) { this.exceptionLabels[i] = new ExceptionLabel(this.codeStream, typeReferences[i].resolvedType, typeReferences[i], i == 0 ? annotations : null); } } public void place() {
if ((fieldBinding.getAccessFlags() & ClassFileConstants.AccEnum) != 0) { final BranchLabel endLabel = new BranchLabel(this); final ExceptionLabel anyExceptionHandler = new ExceptionLabel(this, TypeBinding.LONG /* represents NoSuchFieldError*/); anyExceptionHandler.placeStart(); aload_0(); this.generateInlinedValue(fieldBinding.id + 1); // zero should not be returned see bug 141810 iastore(); anyExceptionHandler.placeEnd(); goto_(endLabel); anyExceptionHandler.place();
public ExceptionLabel enterAnyExceptionHandler(CodeStream codeStream) { if (this.anyExceptionLabel == null) { this.anyExceptionLabel = new ExceptionLabel(codeStream, null /*any exception*/); } this.anyExceptionLabel.placeStart(); return this.anyExceptionLabel; }
public void exitDeclaredExceptionHandlers(CodeStream codeStream) { for (int i = 0, length = this.declaredExceptionLabels == null ? 0 : this.declaredExceptionLabels.length; i < length; i++) { this.declaredExceptionLabels[i].placeEnd(); } }
public void place() { for (int i = 0, max = this.exceptionLabels.length; i < max; i++) { this.exceptionLabels[i].place(); } } public void placeEnd() {
public int getCount() { int temp = 0; for (int i = 0, max = this.exceptionLabels.length; i < max; i++) { temp += this.exceptionLabels[i].getCount(); } return temp; } }
public void placeStart() { for (int i = 0, max = this.exceptionLabels.length; i < max; i++) { this.exceptionLabels[i].placeStart(); } } public int getCount() {
public void initialize(UnionTypeReference typeReference, Annotation [] annotations) { TypeReference[] typeReferences = typeReference.typeReferences; int length = typeReferences.length; this.exceptionLabels = new ExceptionLabel[length]; for (int i = 0; i < length; i++) { this.exceptionLabels[i] = new ExceptionLabel(this.codeStream, typeReferences[i].resolvedType, typeReferences[i], i == 0 ? annotations : null); } } @Override
public ExceptionLabel enterAnyExceptionHandler(CodeStream codeStream) { if (this.anyExceptionLabel == null) { this.anyExceptionLabel = new ExceptionLabel(codeStream, null /*any exception*/); } this.anyExceptionLabel.placeStart(); return this.anyExceptionLabel; }
public void exitDeclaredExceptionHandlers(CodeStream codeStream) { for (int i = 0, length = this.declaredExceptionLabels == null ? 0 : this.declaredExceptionLabels.length; i < length; i++) { this.declaredExceptionLabels[i].placeEnd(); } }