added generics

This commit is contained in:
Egor.Ushakov
2016-06-27 18:39:36 +03:00
parent c7058d944f
commit 80db47d302
3 changed files with 52 additions and 50 deletions
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2015 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -74,7 +74,7 @@ public interface DebugProcess {
Value invokeMethod(EvaluationContext evaluationContext,
ObjectReference objRef,
Method method,
List args) throws EvaluateException;
List<? extends Value> args) throws EvaluateException;
/**
* Is equivalent to invokeInstanceMethod(evaluationContext, classType, method, args, 0)
@@ -82,12 +82,12 @@ public interface DebugProcess {
Value invokeMethod(EvaluationContext evaluationContext,
ClassType classType,
Method method,
List args) throws EvaluateException;
List<? extends Value> args) throws EvaluateException;
Value invokeInstanceMethod(EvaluationContext evaluationContext,
ObjectReference objRef,
Method method,
List args,
List<? extends Value> args,
int invocationOptions) throws EvaluateException;
ReferenceType findClass(EvaluationContext evaluationContext,
@@ -100,7 +100,7 @@ public interface DebugProcess {
ObjectReference newInstance(EvaluationContext evaluationContext,
ClassType classType,
Method constructor,
List paramList) throws EvaluateException;
List<? extends Value> paramList) throws EvaluateException;
boolean isAttached();