public class PseudoLambdaReplaceTemplate
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
PseudoLambdaReplaceTemplate.LambdaRole |
static class |
PseudoLambdaReplaceTemplate.ValidationInfo |
Constructor and Description |
---|
PseudoLambdaReplaceTemplate(java.lang.String method,
PseudoLambdaReplaceTemplate.LambdaRole type,
boolean acceptDefaultValue) |
Modifier and Type | Method and Description |
---|---|
PsiExpression |
convertToStream(PsiMethodCallExpression expression,
PsiMethod method,
boolean force) |
boolean |
equals(java.lang.Object o) |
static java.util.List<PseudoLambdaReplaceTemplate> |
getAllTemplates() |
PseudoLambdaReplaceTemplate.LambdaRole |
getLambdaRole() |
java.lang.String |
getStreamApiMethodName() |
int |
hashCode() |
boolean |
isAcceptDefaultValue() |
static PsiExpression |
replaceTypeParameters(PsiExpression collectionExpression) |
java.lang.String |
toString() |
PseudoLambdaReplaceTemplate.ValidationInfo |
validate(PsiMethod method) |
PseudoLambdaReplaceTemplate.ValidationInfo |
validate(PsiMethodCallExpression expression) |
public PseudoLambdaReplaceTemplate(java.lang.String method, PseudoLambdaReplaceTemplate.LambdaRole type, boolean acceptDefaultValue)
public static java.util.List<PseudoLambdaReplaceTemplate> getAllTemplates()
public PseudoLambdaReplaceTemplate.ValidationInfo validate(PsiMethod method)
public PseudoLambdaReplaceTemplate.ValidationInfo validate(PsiMethodCallExpression expression)
public java.lang.String getStreamApiMethodName()
public PseudoLambdaReplaceTemplate.LambdaRole getLambdaRole()
public boolean isAcceptDefaultValue()
public PsiExpression convertToStream(PsiMethodCallExpression expression, PsiMethod method, boolean force)
public static PsiExpression replaceTypeParameters(PsiExpression collectionExpression)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object