private Object createDrySourceDetail ( final AbstractBuild < ? , ? > owner , final AnnotationContainer container , final String defaultEncoding , final String fromString , final String toString ) { long from = Long . parseLong ( fromString ) ; long to = Long . parseLong ( toString ) ; FileAnnotation fromAnnotation = container . getAnnotation ( from ) ; if ( fromAnnotation instanceof DuplicateCode ) { return new SourceDetail ( owner , ( ( DuplicateCode ) fromAnnotation ) . getLink ( to ) , defaultEncoding ) ; } return null ; }
Creates the dry source detail view .