Searched refs:associatedElement (Results 1 – 1 of 1) sorted by relevance
40 private final Optional<? extends Element> associatedElement; field in SourceFileGenerationException43 Optional<? extends Element> associatedElement) { in SourceFileGenerationException() argument46 this.associatedElement = checkNotNull(associatedElement); in SourceFileGenerationException()54 Element associatedElement) { in SourceFileGenerationException() argument55 this(generatedClassNames, cause, Optional.of(associatedElement)); in SourceFileGenerationException()62 public Optional<? extends Element> associatedElement() { in associatedElement() method in SourceFileGenerationException63 return associatedElement; in associatedElement()75 if (associatedElement.isPresent()) { in printMessageTo()76 messager.printMessage(ERROR, getMessage(), associatedElement.get()); in printMessageTo()